UID64517
积分92
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2010-5-2
最后登录1970-1-1
|
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
波动回调提示图:MA(CLOSE,10000);
STICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,Color00FFFF;
STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;
{WHK涨跌分离线}
H均线:=WMA(H,5);
L均线:=WMA(L,5);
WHK涨跌分离线:=IF(C>REF(H均线,1),L均线,IF(C<REF(L均线,1),H均线,L均线));
看多就买:C>WHK涨跌分离线,linethick0,color0000ff;
看空全抛:C<=WHK涨跌分离线,linethick0,color00ff00;
看空周期:=BARSLAST(看多就买);
看多周期:=BARSLAST(看空全抛);
开始试买:看多周期=1,color00ffff,linethick0;
全部抛掉:看空周期=1,colorffcc00,linethick0;
止损水平线:=IF(看多周期>看空周期,REF(C,看多周期),REF(C,看空周期));
乖离线:MA((CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*C,3)+C,COLORFFFF66 ;
STICKLINE(C>WHK涨跌分离线,H,L,1,0),colorred;
STICKLINE(C>WHK涨跌分离线,O,C,6,0),colorred;
STICKLINE(C<=WHK涨跌分离线,H,L,1,0),color00ff00;
STICKLINE(C<=WHK涨跌分离线,O,C,6,0),color00ff00;
STICKLINE(开始试买,O,(C+O)/2,6,0),color00ffff;
STICKLINE(全部抛掉,O,(C+O)/2,6,0),colorblue;
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.02)),7);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.02)),8);
PT:=REF(H,1)-REF(L,1);
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
AH:=CDP+PT;
AL:=CDP-PT;
NH:=CDP*2-REF(L,1);
NL:=CDP*2-REF(H,1);
M:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL);
AA05:MA(C,5),color0099cc;
五日乖离率:=(c-AA05)/AA05*100;
BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),linethick0;
STICKLINE(BB05>30 and AA05>ref(AA05,1), AA05,REF(AA05,1),8,1),colorcyan;
AA10:MA(C,10);AA20:=MA(c,20);
BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
STICKLINE(BB05<0 and AA05<ref(AA05,1), AA05,REF(AA05,1),8,1),colorffff66;
AA30:MA(C,30); |
|