加一条主买主卖差值趋势线
2019/12/1 18:35:31
公式编写说明:
VOL,VOLSTICK;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(VOL>0,VOL,0,4,1),colorwhite;STICKLINE(主买>0,0,主买,4,0),colorred;STICKLINE(主卖<0,0,主卖,4,0),COLOR00FF00; Zero : 0;谢谢老师,祝您天天开心!
公式源码示例:
差1:MA(主买+主卖,3)*2,COLORff88ff;
差2:EMA(差1,3),COLORffFF00;
看股吧公 式 w ww.kanguba.com
其它股票公式列表