网友求助:
源码如下:
战神系列指标:0,colorred;
Var92:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var93:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var94:=SMA(Var93,13,8);
出刀见血:if(SMA(Var94,13,8)<=5.00,50.00,0),colore66878,stick,linethick3;
DRAWTEXT(出刀见血,60,'∝╬══→'),ALIGN1,VALIGN2,colorred;
DRAWTEXT(出刀见血,28,'出刀就要见血'),ALIGN1,VALIGN2,coloryellow;
80;
解答如下:
Var92:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var93:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var94:=SMA(Var93,13,8);
出刀见血:SMA(Var94,13,8)<=5;