护卫艇指标公式[其他软件公式]
相关标签:macd指标公式 、 量比指标公式 、 成交量指标公式 、 换手率指标公式 、 文华指标公式 、 金蜘蛛指标公式 、 麟龙指标公式 、 捕捞季节指标公式 、 通达信指标公式大全 、 通达信中枢指标公式 、
☆护卫艇
原理解析:
源码:
MA10:EMA(CLOSE,10),colorFFFF;
VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
卖出线:=SMA(SMA(VARE,3,1),3,1);
买入线:=3*SMA(VARE,3,1)-2*卖出线;
VERTLINE(HOUR=15),POINTDOT,color6900;
DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(1),REF(CLOSE,1),'-----------------------'),colorFFFFFF;
YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
YE6:=SUM(YE1*YE5,1);
YE7:=SUM(YE2*YE5,1);
YE8:=SUM(YE3*YE5,1);
YE9:=SUM(YE4*YE5,1);
YE10:=DYNAINFO(23)>DYNAINFO(22);
HZ:=EMA(CLOSE,13);
短波:=EMA(HZ,1);
短波之上:=CLOSE>短波;
主力买大:=YE9>YE7 AND YE10 AND 短波之上;
WX:=MA(CLOSE,0);
C1:=REF(CLOSE,1);
C2:=HHV(C1,2);
C3:=LLV(C1,1);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,1);
XB1:=REF(XB,1);
M:=BARSLAST(CLOSE<XB AND C1>=XB1);
M11:=REF(M,1);
N9:=BARSLAST(CLOSE>ET AND C1<=ET1);
N1:=REF(N9,1);
M21:=BARSLAST(M-N9>0 AND M11<=N1)+1;
N2:=BARSLAST(N9-M>0 AND N1<=M11)+1;
ET2:=HHV(ET,M21);
XB2:=LLV(XB,N2);
A:=IF(M-N9>0 AND M11<=N1,1,IF(N9-M>0 AND N1<=M11,0,2));
H1:=IF(M-N9>0,CLOSE,ET2);
H2:=IF(A=1,CLOSE,C2);
H3:=IF(M-N9<0,CLOSE,XB2);
H4:=IF(A=1,CLOSE,XB2);
H5:=IF(M-N9>0 OR A=1,CLOSE,H3);
H6:=REF(H5,1);
H8:=H5>H6;
H9:=H4=REF(H4,1) AND REF(H4,1)<REF(H4,2) AND H5>REF(H5,2);
H10:=H2=REF(H2,1) AND H4=REF(H4,1) AND H5=REF(H5,2);
W:=H8 OR H9 OR H10;
T9:=H5<H6 AND H5<REF(H5,2);
T10:=H4=REF(H4,1) AND H5<REF(H5,2);
T11:=H3>REF(H3,1) AND H5<REF(H5,1);
T12:=H5=REF(H5,1) AND H3=H4;
T13:=H2=REF(H2,1) AND H2=H5;
TW:=T9 OR T10 OR T11 OR T12 OR T13;
BBP:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
STICKLINE(ISLASTBAR AND W,H5*1.025,H5*0.99,0.5,0),SHIFT1,colorFF;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,8,0),SHIFT1,colorFF;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,8,0),SHIFT1,color102088;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,7,0),SHIFT1,color102099;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,6,0),SHIFT1,color1020AA;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,5,0),SHIFT1,color1020BB;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,4,0),SHIFT1,color1020CC;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,3,0),SHIFT1,color1020DD;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,2,0),SHIFT1,color1020EE;
STICKLINE(ISLASTBAR AND W,H5*1.02,H5,1,0),SHIFT1,color1020FF;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.96,(H5+H3)/2.05,0.5,0),SHIFT1,colorFF8800;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,8,0),SHIFT1,colorFF00;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,8,0),SHIFT1,colorFF7700;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,7,0),SHIFT1,colorFF8800;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,6,0),SHIFT1,colorFF9900;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,5,0),SHIFT1,colorFFAA00;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,4,0),SHIFT1,colorFFBB00;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,3,0),SHIFT1,colorFFCC00;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,2,0),SHIFT1,colorFFDD00;
STICKLINE(ISLASTBAR AND TW,(H5+H4)/1.99,(H5+H3)/2.03,1,0),SHIFT1,colorFFEE00;
HZ:=EMA(CLOSE,13);
短波:EMA(HZ,1),LINETHICK0,colorFF00;
中波:EMA(HZ,26),LINETHICK0;
HZ2:EMA(HZ,8),LINETHICK0,colorFF;
HZ4:EMA(HZ,39),LINETHICK0,colorFF00;
FILLRGN(HZ2<HZ4,短波,HZ4),colorFF0000;
FILLRGN(中波>HZ4,中波,HZ4),color9900;
FILLRGN(短波>HZ2,短波,HZ2),colorFF0080;
PARTLINE(短波<REF(短波,1),短波),LINETHICK3,colorFF0080;
MA30:EMA(CLOSE,30),color1472FF;
MA120:EMA(CLOSE,120),LINEDOT,colorFFFFFF;
STICKLINE(CLOSE>OPEN,HIGH,LOW,1,0),colorFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0),colorFF;
STICKLINE(CLOSE<OPEN,HIGH,LOW,1,0),colorFFFF00;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,0),colorFFFF00;
STICKLINE(CLOSE=OPEN,HIGH,LOW,1.5,0),colorFFFFFF;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,8,0),colorFFFFFF;
重心:=(CLOSE+0.618*REF(CLOSE,1)+0.382*REF(CLOSE,2)+0.236*REF(CLOSE,3)+0.146*REF(CLOSE,4))/2.382;
GAO:=HHV(CLOSE,60)-LLV(CLOSE,60);
RSI:=(SMA(MAX(重心-REF(重心,1),0),5,1))/(SMA(ABS(重心-REF(重心,1)),5,1));
指导线:重心+GAO*(RSI-0.5),LINETHICK2,color9900;
F:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
今小昨:=IF(CLOSE<REF(OPEN,1) AND F<0,1,0);
S1:=今小昨;
今小前:=IF(CLOSE<REF(OPEN,2) AND F<0,1,0);
S2:=今小前;
STICKLINE(S1=0 AND REF(S1,1)=1 AND S2=0,OPEN,CLOSE,8,0),colorFF00FF;
STICKLINE(CLOSE>OPEN AND CROSS(指导线,REF(指导线,1)),HIGH,LOW,1,0),colorFFFF;
STICKLINE(CLOSE>OPEN AND CROSS(指导线,REF(指导线,1)),CLOSE,OPEN,3,0),colorFFFF;
PARTLINE(指导线>REF(指导线,1),指导线),LINETHICK3,colorA8;
PARTLINE(指导线<REF(指导线,1),指导线),LINETHICK2,color9900;
MA5:EMA(CLOSE,5),LINETHICK2,colorFF00FF;
PARTLINE(MA5<REF(MA5,1),MA5),LINETHICK2,colorFFFFFF;
VAR4:=(LOW+HIGH+CLOSE)/2.96;
操作:=MA(VAR4,5);
压力:HHV(操作,60),LINETHICK1,color808080;
DRAWTEXT(CROSS(CLOSE,压力),LOW,'.\n突\n破?'),ALIGN1,colorFF00;
PARTLINE(压力=REF(压力,1),压力),LINETHICK3,colorFF00;
A:=3*SMA((CLOSE-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22))*100,5,1),3,1);
底部:=10;
DRAWICON(CROSS(A,底部),LOW,'花香2'),ALIGN5;
X5:=HHV((REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4))/4,5);
X10:=HHV((REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/4,10);
X20:=HHV((REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/4,20);
BY:=CROSS(CLOSE,X5) AND CROSS(CLOSE,X10) AND CROSS(CLOSE,X20) AND CLOSE/REF(CLOSE,1)>1.015;
BH:=CROSS(X5,X10) AND CLOSE>OPEN;
DDC:=CROSS(X5,CLOSE) AND CROSS(X10,CLOSE) AND CROSS(X20,CLOSE);
DRAWTEXT(DDC,指导线,'●'),ALIGN0,colorFF00;
DRAWICON(YE9>YE7 AND YE10 AND 短波之上,LOW-0.02,'主力'),ALIGN1;
A4:=MA(CLOSE,20);
A5:=CLOSE>MA(CLOSE,5);
A6:=MA(CLOSE,5)>MA(CLOSE,10);
A7:=CLOSE>MA(CLOSE,10);
A8:=MA(CLOSE,5)>MA(CLOSE,20);
A9:=CLOSE>MA(CLOSE,20);
A10:=REF(A4,1);
A11:=A4>A10;
AVX:=IF(A5,10,-10)+IF(A6,10,-10)+IF(A7,10,-10)+IF(A8,10,-10)+IF(A9,10,-10)+IF(A11,10,-10);
DSLX:=CLOSE/INDEXC;
DSLX1:=MA(DSLX,5);
V1:=MA(VOL,5);
V2:=MA(VOL,10);
阻力位:=IF(CLOSE>200,CLOSE*1.01,CLOSE*1.07);
阻力位1:=IF(CLOSE<10,CLOSE*1.05,阻力位);
止损位:=IF(CLOSE>200,CLOSE*0.99,CLOSE*0.93);
止损位1:=IF(CLOSE<10,CLOSE*0.95,止损位);
情况1:=CROSS(AVX,1) AND V1>=V2 AND DSLX>=DSLX1;
情况2:=CROSS(AVX,1) AND V1<V2 AND DSLX>=DSLX1;
情况3:=CROSS(AVX,1) AND V1>V2 AND DSLX<DSLX1;
情况4:=CROSS(AVX,1) AND V1<=V2 AND DSLX<DSLX1;
情况5:=CROSS(1,AVX) AND V1>=V2 AND DSLX>=DSLX1;
情况6:=CROSS(1,AVX) AND V1<V2 AND DSLX>=DSLX1;
情况7:=CROSS(1,AVX) AND V1>=V2 AND DSLX<DSLX1;
情况8:=CROSS(1,AVX) AND V1<V2 AND DSLX<DSLX1;
情况9:=AVX>=1 AND REF(AVX,1)>0 AND V1>=V2 AND DSLX>=DSLX1;
情况10:=AVX>=1 AND REF(AVX,1)>0 AND V1<V2 AND DSLX>=DSLX1;
情况11:=AVX>=1 AND REF(AVX,1)>0 AND V1>=V2 AND DSLX<DSLX1;
情况12:=AVX>=1 AND REF(AVX,1)>0 AND V1<V2 AND DSLX<DSLX1;
情况13:=AVX<1 AND REF(AVX,1)<0 AND V1>=V2 AND DSLX>=DSLX1;
情况14:=AVX<1 AND REF(AVX,1)<0 AND V1<V2 AND DSLX>=DSLX1;
情况15:=AVX<1 AND REF(AVX,1)<0 AND V1>=V2 AND DSLX<DSLX1;
情况16:=AVX<1 AND REF(AVX,1)<0 AND V1<V2 AND DSLX<DSLX1;
DRAWTEXTEX(情况1 AND CLOSE<200,0,200,0,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。\n'),colorFFFF;
DRAWTEXTEX(情况1 AND CLOSE<200,0,200,60,'评级:\n'),colorFFFF;
DRAWTEXTEX(情况2 AND CLOSE<200,0,200,0,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。\n'),colorFFFF;
DRAWTEXTEX(情况2 AND CLOSE<200,0,200,60,'评级:\n'),colorFFFF;
DRAWTEXTEX(情况3 AND CLOSE<200,0,200,0,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。\n'),colorFFFF;
DRAWTEXTEX(情况3 AND CLOSE<200,0,200,60,'评级:\n'),colorFFFF;
DRAWTEXTEX(情况4 AND CLOSE<200,0,200,0,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。\n'),colorFFFFFF;
DRAWTEXTEX(情况4 AND CLOSE<200,0,200,60,'评级:\n'),colorFFFF;
DRAWTEXTEX(情况5 AND CLOSE<200,0,200,0,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。\n'),colorFF00;
DRAWTEXTEX(情况6 AND CLOSE<200,0,200,0,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。\n'),colorFFFF00;
DRAWTEXTEX(情况7 AND CLOSE<200,0,200,0,'该股放量下跌,走势明显偏弱,离场观望。\n'),colorFF00;
DRAWTEXTEX(情况8 AND CLOSE<200,0,200,0,'该股缩量下跌,走势偏弱,离场观望。\n'),colorFF00;
DRAWTEXTEX(情况9 AND CLOSE<200,0,200,0,'该股目前形态良好,强势明显,量能充足,可以继续持有。\n'),colorFFFF;
DRAWTEXTEX(情况10 AND CLOSE<200,0,200,0,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险。\n'),colorFFFF00;
DRAWTEXTEX(情况11 AND CLOSE<200,0,200,0,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。\n'),colorFFFF00;
DRAWTEXTEX(情况12 AND CLOSE<200,0,200,0,'该股走势趋弱,量能不足,减持大部分筹码。\n'),colorFF00;
DRAWTEXTEX(情况13 AND CLOSE<200,0,200,0,'该股形态不佳,注意成交量的变化,但目前不适合参与。\n'),LINETHICK3,colorFFFF00;
DRAWTEXTEX(情况14 AND CLOSE<200,0,200,0,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。\n'),LINETHICK3,colorFFFF00;
DRAWTEXTEX(情况15 AND CLOSE<200,0,200,0,'该股有走强迹象,但量能不足,趋势不明,不适合操作。\n'),colorFFFFFF;
DRAWTEXTEX(情况16 AND CLOSE<200,0,200,0,'该股走势太弱,没有参与价值。\n'),LINETHICK2,colorFF00;
DRAWTEXTEX(REF(OPEN,1)<>REF(CLOSE,1) AND 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)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2),0,200,30,'\n* 黄昏之星 -空方势盛 反转信号 跳空成弃婴'),colorFFFF;
DRAWTEXTEX(REF(OPEN,1)<>REF(CLOSE,1) AND REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND (ABS(REF(OPEN,1)-REF(CLOSE,1)))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),0,200,30,' 晨星 -多方势盛 变盘信号\n'),colorFFFF;
DRAWTEXTEX(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5),0,200,30,'倒转槌头 -高位抛压 低位多空争执\n'),colorFFFF;
DRAWTEXTEX(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE<MA(CLOSE,5),0,200,30,'槌头 -下影线有多头意义 在下降趋势之后看涨 注意反弹卖压\n'),colorFFFF;
DRAWTEXTEX(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5),0,200,30,'吊颈线 -高档看跌\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1),0,200,30,'曙光 -与乌云盖顶相反 行情将演化为V型反转或止跌横盘趋势\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1) OR REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1),0,200,30,'穿头破脚 -若第一根K为阴(阳) 表强劲上涨(下跌)力量\n'),colorFFFF;
DRAWTEXTEX((ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND (ABS(CLOSE-OPEN))/CLOSE<0.005 AND MAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1)),0,200,30,'身怀六甲 -阴(阳)怀阳(阴)怪异的走势显示该股行情可能转向 若量由大转缩更\n'),colorFFFF;
DRAWTEXTEX((ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN AND CLOSE<MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE>MIN(REF(CLOSE,1),REF(OPEN,1)),0,200,30,'十字胎 -似身怀六甲 转向可能性更大 量缩观望为宜\n'),colorFFFF;
DRAWTEXTEX(CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018,0,200,30,'大阳烛 -上升行情中意味行情剧烈向上攀升 下跌行情中意味行情剧烈向上反弹\n'),colorFFFF;
DRAWTEXTEX(OPEN/CLOSE>1.05 AND HIGH/LOW<OPEN/CLOSE+0.018,0,200,30,'大阴烛 -今日空方有绝对优势\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND (ABS(CLOSE-REF(CLOSE,1)))/CLOSE<0.002 OR REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND (ABS(CLOSE-REF(CLOSE,1)))/CLOSE<0.002,0,200,30,'友好反攻 -阴(阳)线结合极线 多方跳低(高)后反弹 有企稳迹象\n'),colorFFFF;
DRAWTEXTEX(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),0,200,30,'跳空缺口 -当日未补 有与跳空同向进行欲望强烈 三日为回补观察期\n'),colorFFFF;
DRAWTEXTEX(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),0,200,30,'红三兵 -多方气盛 在底部见底反弹可能\n'),colorFFFF;
DRAWTEXTEX(CLOSE=OPEN,0,200,30,'K线不是万能量能分析亦不可缺\n'),colorFFFF;
DRAWTEXTEX(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),0,200,30,'三只乌鸦 -强烈转空趋势 三黑K价越深量越大越易下跌\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98,0,200,30,'双飞乌鸦 -多头力竭 行情走软\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,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),0,200,30,' 上升三部曲 -空方卖压被吸纳 趋势易顺势走涨。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4),0,200,30,'下跌三部曲 -多方弱势不堪一击 趋势易顺势走跌。\n'),colorFFFF;
DRAWTEXTEX(CLOSE=OPEN AND HIGH<>CLOSE AND LOW<>CLOSE AND HIGH<>CLOSE,0,200,15,'十字星 -警告信号 原趋势停顿或反转 依上下影线长度判后市。\n'),colorFFFF;
DRAWTEXTEX((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667,0,200,30,'长下影 -下档支撑强或空方试探进攻\n'),colorFFFF;
DRAWTEXTEX((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,0,200,30,'长上影 -上档阻力大或多方试探进攻。\n'),colorFFFF;
DRAWTEXTEX(OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,0,200,15,'分离 -两日开盘相同 一阴一阳 变盘前彻底整理。\n'),colorFFFF;
DRAWTEXTEX(HIGH=CLOSE AND HIGH<>LOW,0,200,30,'光头阳线 -今日尾盘多方气盛 可能延续到明天。\n'),colorFFFF;
DRAWTEXTEX(LOW=CLOSE AND HIGH<>LOW,0,200,30,'赤脚阴线 -尾盘空方胜 注意延续次日。\n'),colorFFFF;
DRAWTEXTEX(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)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND CLOSE>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100,0,200,30,'二阳夹一阴 -必须从后续的走势来研判。\n'),colorFFFF;
DRAWTEXTEX(CLOSE=OPEN AND HIGH<>CLOSE AND LOW<>CLOSE AND HIGH/LOW>1.03,0,200,30,'长十字 -多空激争 前途未明。\n'),colorFFFF;
DRAWTEXTEX(CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH,0,200,30,'垂死十字 -在顶部时重要 表强力多头开始疲软。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),0,200,30,'早晨十字 -同晨星 从看空平衡到看涨 转强 左右跳空曰弃婴。\n'),colorFFFF;
DRAWTEXTEX(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<0.95 AND CLOSE<REF(CLOSE,2),0,200,30,'黄昏十字 -同夜星 从看多平衡到看空 转弱 左右跳空曰弃婴。\n'),colorFFFF;
DRAWTEXTEX(CLOSE<>OPEN AND MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5),0,200,15,'射击之星 -如伴大量 上遇阻力 有短期见顶可能 转疲。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),0,200,30,'阴线吞噬 -黑包红 向空反转。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>2.5 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND CLOSE<(REF(CLOSE,1)+REF(OPEN,1))/2 AND OPEN>REF(CLOSE,1),0,200,30,'乌云罩顶 -上涨遇重大阻力 空头聚力。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,2)-REF(OPEN,2)>0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.4 AND ABS(CLOSE-OPEN)>3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND REF(OPEN,1)>REF(CLOSE,2) AND OPEN<REF(OPEN,1) AND CLOSE<REF(CLOSE,2) AND CLOSE>REF(OPEN,2) OR REF(CLOSE,2)-REF(OPEN,2)>0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.4 AND ABS(CLOSE-OPEN)>3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN<0 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,2) AND CLOSE>REF(OPEN,2) AND OPEN<REF(CLOSE,1),0,200,30,'夜星 -从看多平衡到看空 转弱 转空。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>2.4 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND REF(CLOSE,1)-OPEN>2,0,200,30,'空头孕育线 --阳育阴 看空。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN<0 AND CLOSE>REF(CLOSE,1) AND OPEN<REF(OPEN,1) AND OPEN-CLOSE<6,0,200,30,'空头孕育线 -阴育阴 看空。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE-OPEN>0 AND CLOSE>REF(HIGH,1) AND OPEN<REF(LOW,1) AND REF(OPEN,1)>REF(MAX(OPEN,CLOSE),2) AND REF(CLOSE,1)>REF(MIN(OPEN,CLOSE),2) AND REF(MAX(OPEN,CLOSE),2)>REF(MAX(OPEN,CLOSE),3),0,200,30,'双人殉情 在上升趋势中最后之空头吞噬 也就是所谓的不见长红不回头。\n'),colorFFFF;
DRAWTEXTEX((REF(HIGH,2)-REF(OPEN,2))/REF(HIGH,2)<=0.0003 AND (CLOSE-LOW)/OPEN<=0.0003 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)>REF(OPEN,1) AND REF(CLOSE,1)>OPEN AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)-REF(OPEN,1)>0 AND REF(LOW,1)-REF(CLOSE,1)<0 AND HIGH-OPEN>0 AND REF(CLOSE,2)-REF(LOW,2)>0 AND CLOSE<OPEN,0,200,30,'三胎鸦 -多头走势被扭转 黑K价愈深量愈大 跳空愈大 反转信号愈强。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND OPEN-REF(CLOSE,1)<0 AND CLOSE<REF(OPEN,1) AND CLOSE>REF(CLOSE,1) AND CLOSE>(REF(CLOSE,1)+REF(OPEN,1))/2,0,200,15,'贯穿线 -多头力道的反扑或是空单回补力道 长黑之后开低收在前天1/2之上 多头反转信号。\n'),colorFFFF;
DRAWTEXTEX(CLOSE-OPEN<0 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE<REF(CLOSE,1) AND OPEN>REF(OPEN,1),0,200,30,'最后吞噬 -在下降趋势中 为一黑一红组合 多头吞噬 在上升趋势中 为一红一黑组合 空头吞噬。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),0,200,30,'最后吞噬 -在下降趋势中 为一黑一红组合 多头吞噬 在上升趋势中 为一红一黑组合 空头吞噬。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),0,200,30,'多头孕育线 -阴育阳 多头反转可能。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,4)/REF(OPEN,4)>1.02 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,4)<=REF(CLOSE,3) AND REF(HIGH,2)<REF(HIGH,3) AND REF(LOW,2)>=REF(OPEN,4) AND REF(HIGH,1)<REF(CLOSE,4) AND REF(LOW,1)>REF(OPEN,4) AND CLOSE/OPEN>1.01 AND OPEN>=REF(OPEN,1) AND CLOSE>=REF(HIGH,3),0,200,30,'连续型态之执垫 -比上升三法更具多头意义。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1),0,200,30,'目前多头阳线吞噬 -红包黑 反转趋势 配合量\n'),colorFFFF;
DRAWTEXTEX(OPEN<CLOSE AND REF(CLOSE,2)-REF(OPEN,2)<0 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND REF(CLOSE,1)<REF(OPEN,2) AND REF(OPEN,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,2) AND CLOSE>REF(CLOSE,1),0,200,30,'内困三日翻红 -一二母子 二量缩 三量增翻红。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2 AND ABS((ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,2)-REF(OPEN,2))))<2 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND REF(OPEN,1)<REF(CLOSE,2) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,2) AND CLOSE>REF(CLOSE,2) OR REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2 AND ABS((ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,2)-REF(OPEN,2))))<2 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN>0 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND CLOSE<REF(OPEN,2) AND OPEN>REF(CLOSE,1),0,200,30,'晨星 -反多信号。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.7 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2.5 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND REF(OPEN,1)<REF(CLOSE,2) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,2) AND CLOSE>REF(CLOSE,2) OR REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.7 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2.5 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN>0 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND CLOSE<REF(OPEN,2) AND OPEN>REF(CLOSE,1),0,200,30,'晨星 -反多信号。\n'),colorFFFF;
DRAWTEXTEX(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>1.5 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND CLOSE<REF(CLOSE,1) AND OPEN>REF(CLOSE,1),0,200,30,'乌云罩顶 -上涨遇重大阻力 空头聚力 三日内见九死一生或跌落一红K低点 反转走空。\n'),colorFFFF;
DRAWTEXTEX(OPEN>CLOSE AND OPEN>MA(CLOSE,5) AND OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,20) AND CLOSE<MA(CLOSE,5) AND CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,20) OR OPEN<CLOSE AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND OPEN<MA(CLOSE,20) AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20),0,200,15,'断头铡刀(出水芙蓉) -一根大阴(阳)线切断了三根均线 如果改变了其后均线的排列为空头(多头)排列 后势看空(多)。\n'),colorFFFF;
DRAWTEXTEX(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE>OPEN AND OPEN<REF(LOW,1) AND CLOSE=REF(LOW,1),0,200,30,'颈上线 -下降趋势 若第二天大量 维持原趋势可能大增。\n'),colorFFFF;
DRAWTEXTEX(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE>OPEN AND OPEN<REF(LOW,1) AND CLOSE<REF(CLOSE,1)+(REF(OPEN,1)-REF(CLOSE,1))*0.005 AND CLOSE>REF(CLOSE,1)-(REF(OPEN,1)-REF(CLOSE,1))*0.005,0,200,30,'颈内线 -下降趋势 比颈上线缓和 若第二天大量 维持原趋势可能大增。\n'),colorFFFF;
DRAWTEXTEX(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018 AND OPEN<REF(LOW,1) AND CLOSE<REF(CLOSE,1)+(REF(OPEN,1)-REF(CLOSE,1))*0.5 AND CLOSE>REF(CLOSE,1),0,200,30,' 戮入线 -代表下跌市场中的失败涨升 下降趋势持续。\n'),colorFFFF;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容