{1.大卫底部}
AA:=MA(L,1)*0.8;
DB:=MA(L,10)*0.70;
CZ:=(AA-DB)/AA*100;
{DRAWICON(CROSS(DB,AA),AA*0.03,7);}
底部:(CROSS(DB,AA)),COLOR148CCC;
{2.海底}
{量价角度----理想论坛一品茶缘编写副图指标}
MA5:=EMA(C,5);
MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
海底:(MA5角度<0-75),COLORFF8800;
{3.砸锅卖田}
趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
砸锅卖田:=CROSS(-30,趋势线);
砸锅等:COUNT(砸锅卖田,10)>0,COLORGREEN;
{趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;}
再卖田:((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30,COLOR44FF99;
{4.捞鱼}
VAR1:=EMA(VOL/CAPITAL,13)*13;
捞鱼:100-100/(1+VAR1)<10 AND (C-CYC(13))/CYC(13)*100<-16,COLORFFF444;
{5.超跌}
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
S1:=2*EMA(100-VAR6,1);
S2:=EMA(S1,9);
超跌XG:YJD<-80 AND S1>S2,COLORFFF9FF; |