大智慧精准画图《压力支撑》公式
-
相关简介:大智慧精准画图《压力支撑》公式 精准画图《压力支撑》《图仍然是沙隆达,已经在调整了》 input:N(3,1,111); {现价} MA1:=MA(C,1); DRAWTEXTREL(330,915,'现价:'+NUMTOSTRN(MA1,2)),LINETHICK7,COLORred; A1:=BARSTATUS = 2; A2:=(REF(HIGH,N)) = (HHV(HIGH,((2 * N) + 1))); A3:=BACKSET(A2,(N + 1)); A4:=(FILTER(A3
-
文章来源:股海网作者:股海网发布时间:2013-03-18浏览次数:
大智慧精准画图《压力支撑》公式
精准画图《压力支撑》《图仍然是沙隆达,已经在调整了》
input:N(3,1,111);
{现价}
MA1:=MA(C,1);
DRAWTEXTREL(330,915,'现价:'+NUMTOSTRN(MA1,2)),LINETHICK7,COLORred;
A1:=BARSTATUS = 2;
A2:=(REF(HIGH,N)) = (HHV(HIGH,((2 * N) + 1)));
A3:=BACKSET(A2,(N + 1));
A4:=(FILTER(A3,N)) AND (HIGH = (HHV(HIGH,(N + 1))));
A5:=(REF(LOW,N)) = (LLV(LOW,((2 * N) + 1)));
A6:=BACKSET(A5,(N + 1));
A7:=(FILTER(A6,N)) AND (LOW = (LLV(LOW,(N + 1))));
A8:=A1 AND (REF(A4,BARSLAST(A4)));
A9:=BACKSET(A8,(BARSLAST(A4) + 1));
A10:=A9 > (REF(A9,1));
A11:=REF(BARSLAST(A4),1);
A12:=BACKSET(A10,(A11 + 2));
A13:=A12 > (REF(A12,1));
A14:=BACKSET(A13,(A11 + 2));
A15:=A14 > (REF(A14,1));
A16:=BACKSET(A15,(A11 + 2));
A17:=A16 > (REF(A16,1));
短期压力:DRAWLINE(A13,HIGH,A10,HIGH,1),colorred;
{www.guhai.com.cn}
中期压力:DRAWLINE(A15,HIGH,A13,HIGH,1),colorMagenta;
长期压力:DRAWLINE(A17,HIGH,A15,HIGH,1),Precis2;
平台压力:DRAWLINE(A10,HIGH,(REF(A10,1)),(REF(HIGH,1)),1),linethick2,colorYellow;
A18:=A1 AND (REF(A7,BARSLAST(A7)));
A19:=BACKSET(A18,(BARSLAST(A7) + 1));
A20:=A19 > (REF(A19,1));
A21:=REF(BARSLAST(A7),1);
A22:=BACKSET(A20,(A21 + 2));
A23:=A22 > (REF(A22,1));
A24:=BACKSET(A23,(A21 + 2));
A25:=A24 > (REF(A24,1));
A26:=BACKSET(A25,(A21 + 2));
A27:=A26 > (REF(A26,1));
短期支撑:DRAWLINE(A23,LOW,A20,LOW,1),colorred;
{股海网www.guhai.com.cn}
中期支撑:DRAWLINE(A25,LOW,A23,LOW,1),colorGreen;
长期支撑:DRAWLINE(A27,LOW,A25,LOW,1),colorGreen;
平台支撑:DRAWLINE(A20,LOW,(REF(A20,1)),(REF(LOW,1)),1),linethick2,colorWhite;
工作1:eMA(CLOSE,1),colorFF00FF,linethick1;
二号119:eMA(CLOSE,119),coloryellow;三号166:eMA(CLOSE,179),colorgreen;
四号256:eMA(CLOSE,256),colorblue;生命453:eMA(CLOSE,453),coloryellow,linethick2;
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:=ZIG(3,5)*100;
G:=MA(B,2);
D:=CROSS(B,G);
W:=CROSS(G,B);
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
DRAWTEXT(FILTER(D=1,5),LOW-0.1,'↖买'),COLORYELLOW;
DRAWTEXT(W=1,HIGH*1.02,'逃'),COLORGREEN;
STICKLINE(w=1,o,c,3,0),COLORBLUE;
STICKLINE(D=1,o,c,3,0),COLORYELLOW;
DRAWTEXTABS(2,5,'当突破压力位时 《尾盘回调最好》《突破上压后,回调到下支撑买入》<突破平台最好> 站稳 就可买 《关键是趋势向上》收盘价突破453时二天回抽时买入跌破453时候坚决在反抽的时候卖出碰过9号密码线(收盘价尤佳),那么再回到25线就是难得的买入点再突破9号线,应有30%的涨幅收盘价突破453时第二天回抽时买入跌破453时候坚决在反抽的时候卖出所属板块:'+BKNAME),COLORFF50FF,linethick1;