源码:
多空趋势线:(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4,CO LOR0000FF;
IF(多空趋势线>REF(多空趋势线,1),多空趋势线,DRAWNULL),LINETHICK2,COLOR0 000FF;
IF(多空趋势线
早晨之星:=REF(CLOSE,2)/REF(OPEN,2)
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
黄昏之星:=REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) >
REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)
CLOSE/OPEN
长十字:=CLOSE=OPEN AND HIGH/LOW >1.03;
垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH;
早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);
黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1) >
REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN
射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5);
倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE
锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-
MIN(OPEN,CLOSE)) AND CLOSE
吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-
MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5);
穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN
REF(CLOSE,1))
OR (REF(CLOSE,1)/REF(OPEN,1)1.04 AND CLOSE>REF(OPEN,1) AND OPEN
乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPENREF(CLOSE,1) AND CLOSE
曙光初现:=REF(CLOSE,1)/REF(OPEN,1)1.03 AND OPEN REF(CLOSE,1);
身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND
ABS(CLOSE-OPEN)/CLOSE
MAX(CLOSE,OPEN) MIN(REF(CLOSE,1),REF(OPEN,1));
十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND CLOSE=OPEN AND
CLOSE MIN(REF(CLOSE,1),REF(OPEN,1));
平顶:=ABS(HIGH-REF(HIGH,1))/HIGH
平底:=(ABS(LOW-REF(LOW,1))/LOW
大阳烛:=CLOSE/OPEN>1.05 AND HIGH/LOW
红三兵:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN
AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);
双飞乌鸦:=REF(CLOSE,1)
孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND
(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND
REF(OPEN,1)>=REF(CLOSE,1) AND
(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1) =REF(OPEN,2) AND C>=OPEN AND
(CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN
多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) OPEN;
出水芙蓉:=(OPEN MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))
AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);
上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)
REF(LOW,4) REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND
REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND
CLOSE>REF(CLOSE,4);
下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)REF(OPEN,3) AND
REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND
REF(LOW,4)
REF(LOW,4) REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND
REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN
CLOSE
跳空:=HIGH REF(HIGH,1);
三只乌鸦:=REF(CLOSE,2)
光脚阴线:=LOW=CLOSE AND HIGH!=LOW;
光头阳线:=HIGH=CLOSE AND HIGH!=LOW;
分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1)) 长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;
长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;
十字星:=CLOSE=OPEN AND HIGH!=LOW;
大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW
好友反攻:=(REF(CLOSE,1) OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE
OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE
倾盆大雨:=REF(C,1)/REF(O,1)>=1.03 AND O REF(O,1) AND C
DRAWTEXT(长下影 OR 长上影 OR
倾盆大雨,H+H*0.02,IF(长上影,'长上影',IF(长下影,'长下影','倾盆大雨'))),COLORBLUE; DRAWTEXT(黄昏之星 OR 早晨之星,IF(早晨之星,H,L),IF(黄昏之星,IF(十字星,'黄昏十字星','黄昏之星'),IF(十字星,'早晨十字星','早晨之星'))),COLORGREEN;
DRAWTEXT(大阴烛 OR 大阳烛 OR
十字星,IF(大阴烛,L,H),IF(大阴烛,'大阴烛',IF(大阳烛,'大阳烛','十字星'))),COLORCYAN; DRAWTEXT(下跌三部曲 OR 上升三部曲 OR 长十字,H+H*0.03,IF(下跌三部曲,'下跌三部曲',IF(上升三部曲,'上升三部曲','长十字'))),COLORRED;
DRAWTEXT(光脚阴线 OR 光头阳线 OR
跳空,O,IF(光脚阴线,'光脚阴线',IF(光头阳线,'光头阳线','跳空'))),COLORMAGENTA;
DRAWTEXT(红三兵 OR 三只乌鸦 OR
分离,L+L*0.03,IF(红三兵,'红三兵',IF(三只乌鸦,'三只乌鸦','分离'))),COLORBROWN;
DRAWTEXT(乌云盖顶 OR 曙光初现 OR 好友反攻,IF(乌云盖顶,H,L-
L*0.03),IF(乌云盖顶,'乌云盖顶',IF(曙光初现,'曙光初现','好友反攻'))),COLORLIGRAY;
DRAWTEXT(射击之星 OR 吊颈 OR 十字胎,IF(射击之星,H,L),IF(射击之星,'射击之星',I F(吊颈,'吊颈','十字胎'))),COLORLIBLUE;
DRAWTEXT(锤头 OR 倒转锤头 OR
孕育线,IF(锤头,H,L),IF(锤头,'锤头',IF(倒转锤头,'倒转锤头','孕育线'))),COLORLIGREEN ;
DRAWTEXT(平顶 OR 平底,IF(平顶,H,L),IF(平底,'平底','平顶')),COLORLICYAN;
DRAWTEXT(穿头破脚 OR 身怀六甲 OR 双飞乌鸦,IF(穿头破脚,L,H+H*0.03),IF(穿头破脚,'穿头破脚',IF(身怀六甲,'身怀六甲','双飞乌鸦'))),COLORLIRED;
DRAWTEXT(多方炮 OR 出水芙蓉,L-
L*0.02,IF(多方炮,'多方炮','出水芙蓉')),COLORYELLOW;
揉搓线:=(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7,COLORLIGRAY;
DRAWTEXT(揉搓线,(L*0.98),'↑揉搓线'),COLORLIGRAY;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE;
STICKLINE(跌停,H,L,0,1),COLORBLUE;
大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2=5,1,0)&&IF((C-C2)*100/C2
STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED;
STICKLINE(大阳线,H,L,0,1),COLORRED;
大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2=5,1,0)&&IF((C2-C)*100/C2
STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN;
STICKLINE(大阴线,H,L,0,1),COLORGREEN;
3d走视图友情提示:图文分享,仅供参考!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论