以下是未来操作 本函数的计算结果引用了未来数据

逃跑操作说明:

            有(ZIG)本函数的计算结果引用了未来数据,

 

            有一定的想象价格与时间空间,只要见到

 

            (当日最低点或最点)比(前一日最低点

 

            或最点)高也就到了变盘的时候。

 

            不管什么趋势指标他都是制后的?

 

操作线 : EMA(CLOSE,17);

短趋:ZIG(2,3),colorgray;

中趋:ZIG(3,9),colorwhite;

VAR =  PEAKBARS(3,15,1)<10;

VAR1 = IF(VAR=1,2,0);

顶a = IF(VAR1=2,2,0);

顶:IF(顶a>REF(顶a,1),5,0),colorligreen;

DRAWTEXT(顶=5,HIGH,’←顶 部’),colorligreen;

买:(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))

AND (REF(ZIG (3,5),2)<=REF(ZIG(3,5),3)),colorwhite;

中趋买:(ZIG(3,9)>REF(ZIG(3,9),1)) AND (REF(ZIG(3,9),1)<=REF(ZIG(3,9),2))

AND (REF(ZIG (3,9),2)<=REF(ZIG(3,9),3)),colorlired;

卖:(ZIG(3,9)<REF(ZIG(3,9),1)) AND (REF(ZIG(3,9),1)>=REF(ZIG(3,9),2))

AND (REF(ZIG (3,9),2)>=REF(ZIG(3,9),3)),colorgray;

DRAWTEXT((中趋买=1),LOW,’←  中趋买’),colorlired;

DRAWTEXT((买=1),LOW,’←买’),colorwhite;

DRAWTEXT((卖=1),HIGH,’← 卖’),colorgray;

STICKLINE(买,CLOSE,O,6,0),Culor0000FF;

STICKLINE(卖,CLOSE,O,6,0),Culor00FF00;

VAR2:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA

(SMA ((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA

(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR5:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

DRAWTEXT(VAR5 AND COUNT(VAR5,30)=1,HIGH,’【资金入场】’),coloryellow;

VAR6:=(HIGH+LOW+CLOSE)/3;

VAR7:=(VAR6-MA(VAR6,14))/(0.015*AVEDEV(VAR6,14));

VAR8:=(VAR6-MA(VAR6,70))/(0.015*AVEDEV(VAR6,70));

VAR9:=IF(VAR7>=150 AND VAR7<200 AND VAR8>=150 AND VAR8<200,10,0);

Var10:=IF(VAR7<=-150 AND VAR7>-200 AND VAR8<=-150 AND VAR8>-200,-10,VAR9);

Var11:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

Var12:=100-ABS(Var11);

Var13:=IF(Var12<90,Var12,100);

Var14:=IF(VAR2>0,VAR2,0);

Var15:=IF(VAR8>=200 AND VAR7>=150,15,IF(VAR8<=-200 AND VAR7<=-150,-15,Var10))+60;

Var16:=Var14>48 AND Var15>60 AND Var13<100;

DRAWTEXT(Var16 AND COUNT(Var16,30)=1,LOW,’【资金出场】’),COLORffcc66;

A1:=EMA(C,14),colorwhite,LINETHICK1;

A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;

支撑:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),colorlired;

压力:IF(A1X<0,REF(EMA(C,4),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),colorligreen;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。