简单买法多空线副图公式源码
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
做空线: SMA(VAR1,3,1),LINETHICK1,COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,3)-LLV(LOW,3))*100;
做多线: SMA(VAR2,5,1)-8,LINETHICK1,COLORRED;
选股:IF(CROSS(做多线,做空线),做多线,0);
DRAWTEXT(CROSS(做多线,做空线),做多线,'进');
722255295.jpg
|