资源描述:
《红蓝波段指标公式.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、红蓝波段指标公式K30:EMA(((C-LLV(L,30))/(HHV(H,30)-LLV(L,30)))*100,5);E30:EMA(K30,5),COLOR00FFFF;K301:=EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,12);J18:=3*EMA((C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100,5)-2*EMA((C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100,5),CIRCLEDOT,
2、COLORBBBBBB;STICKLINE(J18<7.5ANDC=LLV(C,10)ANDL=LLV(L,10),50,0,1,0),COLORMAGENTA;STICKLINE(K30>E30,K30,E30,1,0),COLOR0000CC;STICKLINE(K30REF(K30,2)ANDREF(K30,1)>80,80,100,1,0),COLORFF9900
3、;STICKLINE(K30[REF(K30,2)ANDREF(K30,1)>90,70,100,1,0),COLOR00FF00;STICKLINE(((K30>REF(K30,1)ANDREF(K30,1)][REF(C,1)ANDC>O))ANDREF(K30,1)<10,30,0,1,0),COLOR0000FF;STICKLINE(K30<10ANDC=LLV(C,10)ANDL=LLV(L,10),30,0,1,0)]
4、,COLOR0000FF;10,DOTLINE,COLORAAAAAA;90,DOTLINE,COLORAAAAAA;红蓝柱指标拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;拉升力A:=SMA(拉升力,6.3,1);波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;拉升力B:=3*拉升力A-2.1*波峰波谷;空方:=3*波峰波谷-1*拉升力A;做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COL
5、OR00FF00;做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;多头:IF(做空>=REF(做空,1),做空,DRAWNULL),COLORRED,LINETHICK3;DRAWICON(做空>=REF(做空,1)ANDREF(做空,1)[REF(做空,2),做空,1]
6、9);}短线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;{红柱}STICKLINE(红柱[0,0,红柱,2,0),COLOR;ST]
7、ICKLINE(红柱[0,0,红柱,1.5,0),COLORAAAA00;STICKLINE(红柱][0,0,红柱,0.8,0),COLORDDDD00;STICKLINE(红柱][0,0,红柱,0.3,0),COLORFFFF00;STICKLINE(红柱>REF(红柱,1)AND红柱>0,0,红柱,2,0),COLOR;STICKLINE(红柱>REF(红柱,1)AND红柱>0,0,红柱,1.5,0),COLOR00]
8、00AA;STICKLINE(红柱>REF(红柱,1)AND红柱>0,0,红柱,0.8,0),COLOR0000DD;STICKLINE(红柱>REF(红柱,1)AND红柱>0,0,红柱,0.3,0),COLOR0000FF;STICKLINE(蓝柱[0,0,蓝柱,2,0),COLOR;STICKLINE(蓝柱][0,0,蓝柱,1,0),COLOR00AA00;STIC]