大智慧超级买点指标公式
<p>VAR1:="DMI.PDI"(12,6);<br />VAR2:="DMI.MDI"(12,6);<br />
VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);<br />
VAR4:=LLV(VAR1,0);VAR5:=BARSLAST(VAR4=VAR1);VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;<br />
VAR7:=VAR1>REF(VAR1,1);VAR8:=VOL>2*MA(VOL,30);<br />
VAR9:="DMI.ADX"(12,6);VARA:="DMI.ADXR"(12,6);VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;<br />
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));VARE:=0-"MACD.DIFF"(7,21,3);VARF:=TROUGHBARS(3,15,1)<4;<br />
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);<br />
VAR11:=IF(VARF=1,50,0);<br />
VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);<br />
VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);<br />
VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;<br />
VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);<br />
VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);<br />
VAR17:=HHV(VAR1,VAR16);<br />
VAR18:=BARSLAST(VAR1=VAR17);<br />
DK:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;<br />
0,COLORRED;<br />
STICKLINE(FILTER(VARF=1,5) AND DK<-10,50,0,30,0),COLORRED;<br />
STICKLINE(FILTER(VARF=1,5),50,0,10,0),COLORRED;VAR19:=VAR3 OR VAR12 OR VAR13*100;VAR1A:=VAR13*100;<br />
DRAWICON(FILTER(VARF=1,3),50,1);<br />
DRAWTEXT(FILTER(VARF=1,3),25,'B'),COLORYELLOW;<br />
STICKLINE(DK<-10,0,DK,1,0),COLORyellow;STICKLINE(DK>10,0,DK,1,0),COLORyellow;<br />
if(FILTER((TROUGHBARS(3,15,1)<4)=1,3),10,0);</p>
<p></p>
<p> </p>
页:
[1]