TF := 13;{13周期}
UP := EMA(H, TF);
DW := EMA(L, TF);
F1 := C > O 并且 (O > UP 或 C < DW); F2 := C < O 并且 (O < DW 或 C > UP); COND := F1 或 F2;
COND1 := UP > REF(UP, 1) 并且 DW > REF(DW, 1);
COND2 := UP < REF(UP, 1) 并且 DW < REF(DW, 1);
COND3 := NOT(COND1 OR COND2);
A: UP, COLOR2896FF;
IF(COND1, A, DRAWNULL), COLOR80FF80;
IF(COND2, A, DRAWNULL), COLORFF80C0;
B: DW, COLOR2896FF;
IF(COND10亿, DRAWNULL), COLOR80FF80;
IF(COND20亿, DRAWNULL), COLORFF80C0;
STICKLINE(COND和COND1,A亿,0.2,0),COLOR80FF80;
STICKLINE(COND和COND2,A亿,0.2,0),COLORFF80C0;
STICKLINE(COND和COND3,A亿,0.2,0),COLOR2896FF;
RSV:=(收盘价-LLV(最低价,14))/(HHV(最高价,14)-LLV(最低价,14))*100; K:=SMA(RSV,3,1);
D:=SMA(k,3,1);
J:=3*k-2*D; STICKLINE(J>100,开盘价,收盘价,0.9,0),COLORYELLOW; STICKLINE(J>100,最低价,最高价,0.2,0),COLORYELLOW;
STICKLINE(J<20,开盘价,收盘价,0.9,0),COLORWHITE; STICKLINE(J<20,最低价,最高价,0.2,0),COLORWHITE;
STICKLINE(CROSS(J,30),开盘价,收盘价,1,0),COLORLIBLUE;
STICKLINE(CROSS(J,30),L,H,0.2,0),COLORLIBLUE;
A1:=C>REF(C,4); NT:=BARSLASTCOUNT(A1);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(Nt,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT)) * NT;
DRAWNUMBER((AY > 0 AND AY < 9), H * 1.007, AY ), COLORGREEN;
DRAWNUMBER(Nt = 9, H * 1.007, 9 ), COLORFF00FF;
B1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B1);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,0,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWNUMBER((AY1 > 0 AND AY1 < 9), L, AY1, 0, -1*15), COLORFF00FF;
DRAWNUMBER(NT0 = 9, L, 9, 0, -1*15), COLORGREEN;
HLAFENTITY:=ABS(O-C)/2+MIN(O,C);
AA:=BARSLAST(NT0=9);
DOWNGAP:=H<REF(L,1);
BB:=AA>=0 AND AA<=15 AND DOWNGAP; STICKLINE(Bb,REF(L,1),H,0.75,1),COLORWHITE;
CC:=BARSLAST(BB);
DD:=CC>=1 AND CC<=3 AND H>REF(L,CC+1) AND C>O;
DRAWICON(DD AND NOT(REF(DD,1)) AND NOT(REF(DD,2)),L*0.975,5);
STICKLINE(DD AND NOT(REF(DD,1)) AND NOT(REF(DD,2)),O,C,0.75,0),COLORMAGENTA;
DRAWTEXT(DD AND NOT(REF(DD,1)) AND NOT(REF(DD,2)),L,' -------------'),COLORLIGRAY;
Takias : 很棒的文章。
ZmjjkK 楼主 Takias : 试一试!!
Takias ZmjjkK 楼主 : 我已经开始关注了伙计:) 分析你对我当前投资组合中一些股票的指标
ZmjjkK 楼主 Takias : 很高兴听到这个消息!如果你有任何问题,请告诉我
Edwar Dli : 好像行得通哇
Revana : 那么根据这个指标,ARM 会上涨对吗?
BlueGoo : mara 呈上升趋势
Maniac Fool : 哇漂亮的画面指标
Terrence Tan CK : 你也有这种类型的交易视图指标吗?
sulin : 非常感谢你的分享!我是交易新手,发现这非常有用。
查看更多评论...