MA0:=MA(VOL,5);
MA1:=MA(VOL,10);
MA2:=MA(VOL,20);
MA3:=MA(VOL,30);
MA4:=MA(VOL,40);
MA5:=MA(VOL,50);
MA6:=MA(VOL,60);
MA7:=MA(VOL,70);
MA8:=MA(VOL,80);
MA9:=MA(VOL,90);
MA10:=MA(VOL,100);
MA11:=MA(VOL,110);
MA12:=MA(VOL,120);
量涨极点:if(ma0>ma1 and ma1>ma2 and ma2>ma3 and ma3>ma4 and ma4>ma5 and ma5>ma6 and
ma6>ma7 and ma7>ma8 and ma8>ma9 and ma9>ma10 and ma10>ma11 and ma11>ma12,100,0);
MAa0:=MA(c,5);
MAa1:=MA(c,10);
MAa2:=MA(c,20);
MAa3:=MA(c,30);
MAa4:=MA(c,40);
MAa5:=MA(c,50);
MAa6:=MA(c,60);
MAa7:=MA(c,70);
MAa8:=MA(c,80);
MAa9:=MA(c,90);
MAa10:=MA(c,100);
MAa11:=MA(c,110);
MAa12:=MA(c,120);
价涨极点:if(maa0>maa1 and maa1>maa2 and maa2>maa3 and maa3>maa4 and maa4>maa5 and maa5>maa6 and
maa6>maa7 and maa7>maa8 and maa8>maa9 and maa9>maa10 and maa10>maa11 and maa11>maa12,100,0);
stickline(量涨极点 and 价涨极点,20,80,8,1);
量跌极点:if(ma0<ma1 and ma1<ma2 and ma2<ma3 and ma3<ma4 and ma4<ma5 and ma5<ma6 and
ma6<ma7 and ma7<ma8 and ma8<ma9 and ma9<ma10 and ma10<ma11 and ma11<ma12,-100,0);
价跌极点:if(maa0<maa1 and maa1<maa2 and maa2<maa3 and maa3<maa4 and maa4<maa5 and maa5<maa6 and
maa6<maa7 and maa7<maa8 and maa8<maa9 and maa9<maa10 and maa10<maa11 and maa11<maa12,-100,0);
stickline(量跌极点 and 价跌极点,-20,-80,8,1);
202108211147.jpg
|