大智慧庄家现身主图公式指标源码[大智慧公式]
[code]MA5:MA(CLOSE,5),colorf00ff0;
MA13:MA(CLOSE,13),colorwhite;
MA60:MA(CLOSE,60),linethick1,colorred;
MA90:MA(c,90),linethick2,colorf0f000;
MA120:MA(CLOSE,120),color00ff00;
aa:=cross(MA(c,5),MA(c,20)) and cross(MA(c,5),MA(c,30)) and cross(MA(c,5),MA(c,60));
bb:=MA(c,60)>MA(c,10) and cross(MA(c,10),MA(c,30)) and MA(c,30)>MA(c,20) and abs(MA(c,60)-MA(c,20))/MA(c,20)<0.05;
cc:=MA(c,30)>MA(c,5) and cross(MA(c,5),MA(c,20)) and MA(c,20)>MA(c,10);
dd:=abs((MA(c,5)-MA(c,10))+(MA(c,10)-MA(c,20))+(MA(c,20)-MA(c,30)))<0.02 and MA(c,5)>ref(MA(c,5),1) and MA(c,10)>ref(MA(c,10),1);
ee:=MA(c,20)>MA(c,5) and cross(MA(c,5),MA(c,10)) and MA(c,10)>MA(c,60) and abs(MA(c,20)-MA(c,60))/MA(c,60)<0.05;
ff:=aa or bb or cc or dd or ee ;
天堂星雷达:=ff and FILTER( ff,8);
drawicon(天堂星雷达,l,1);
drawtext(天堂星雷达,l*0.958,'庄现'),colorwhite;
stickline(天堂星雷达,h,l,0.5,0),colorred;
stickline(天堂星雷达,o,c,6,0),linethick2,colorred; {本文来至程序化交易网 cxh99.com}
aa1:=AMOUNT/vol;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<MA(c,5)*0.921;
ee1:=vol<MA(v,5)*1.5;
ff1:bb1 and cc1 and dd1 and ee1;
drawtext(ff1,l*0.99,'庄影'),COLORyellow;
stickline(ff1,h,l,0.5,0),COLORyellow;
stickline(ff1,o,c,6,0),linethick2,COLORyellow;
[/code]
页:
[1]