文华财经柱状图-多空波段趋势指标源码免费下载:
X_1:=HHV(HIGH,9);
X_2:=LLV(LOW,9);
X_3:=(X_1-X_2)/100;
X_4:=(CLOSE-X_2)/(X_1-X_2)*100;
X_5:=SMA(X_4,3,1);
X_6:=SMA(X_5,3,1);
X_7:=3*X_5-2*X_6;
X_8:=X_5*X_3+X_2;
X_9:=X_6*X_3+X_2;
X_10:=X_7*X_3+X_2;
X_11:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_12:=EMA(X_11,9);
X_13:=2*(X_11-X_12);
X_14:=1.25*X_11-0.25*X_12;
X_15:=(X_14*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
X_16:=(X_11*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
X_17:=(X_12*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
X_18:=(X_15+X_17)/2;
X_19:=ATAN((X_16-REF(X_16,1))/REF(X_16,1)*100)*180/3.14159;
趋向:X_15,COLOR111111;
X_20:=X_16;
X_21:=X_18;
切割线:X_17,COLORGREEN;
X_22:=EMA(趋向,3);
X_23:=EMA(趋向,2);
STICKLINE1(趋向>X_21,趋向,X_21,1,1),COLORRED;
STICKLINE1(趋向>X_21,趋向,X_21,0,1),COLOREEEE99;
STICKLINE1(X_21>趋向,X_21,趋向,1,1),COLOR00AAFF;
STICKLINE1(X_21>趋向,X_21,趋向,0,1),COLORBLUE;
STICKLINE1(趋向>X_22,趋向,X_22,1,0),COLORRED;
STICKLINE1(趋向>X_23,趋向,X_23,1,0),COLOREEEE88;
蓝色柱下出现黄点时即可进入:EMA(X_21,1),COLORMAGENTA;
绿色线下破红蓝柱时即可进入:EMA(切割线,3),DOT,COLORCCCCCC;
X_24:=EMA(趋向,40);
X_25:=EMA(X_24,60);
DRAWTEXT(CROSSDOWN(切割线,C),L,’做多’),VALIGN0;
DRAWTEXT(CROSS(切割线,C),H,’做空’),VALIGN2;