顶底区间副图指标,第一次添加,看看如何! VAR5:=LLV(LOW,75); VAR6:=HHV(HIGH,75); VAR7:=(VAR6-VAR5)/100; VAR8:=SMA((CLOSE-VAR5)/VAR7,23,1); VARA1:=3*VAR8-2*SMA(VAR8,13,1); 趋势:=-(100-VARA1)+100,COLOR0099FF,LINETHICK2; VARA:=(2*CLOSE+HIGH+LOW)/4; VARB:=LLV(LOW,23); VARC:=HHV(HIGH,23); VARD:=EMA((VARA-VARB)/(VARC-VARB)*100,13); VARE:=EMA(0.778*REF(VARD,1)+0.222*VARD,1); STICKLINE(VARD-VARE>0,VARD,VARE,8,0),colorred; STICKLINE(VARD-VARE<0,VARD,VARE,8,0),colorgreen; TOP_VARB:=PEAKBARS(3,15,1)<10; TOP_VAR:=IF(TOP_VARB=1,2,0); TOP:=IF(TOP_VAR=2,2,0); TOP_F:=IF(TOP>REF(TOP,1),50,150),colorgreen,LINETHICK2; DRAWTEXT(TOP_F=50,73,'← 卖出'),colorgreen; STICKLINE(TOP_F=50,90,65,8,0),colorgreen; 做多能量线:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORFF00FF; 做空能量线:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),LINETHICK2; 底部区域:20,colorgreen; |
上一篇:五轨布林(同花顺公式)
下一篇:主力资金CXX(同花顺公式源码)