这也是网上的公式,我做了简单改良并重新取名,感觉还不错。现在源码分享给各位同学,希望能有一些作用。
底部区域提醒:
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
VAR6:=MA(VAR5,3);
底部区域:IF(VAR6<(-6),1,0),COLORYELLOW,LINETHICK2;
DRAWICON(底部区域,0.1,7);