1.股票分时买卖技巧公式
2.分时横盘突破选股公式
3.分时追涨公式
4.跪求通达信分时压力,分时分支撑,突破突破主图公式!源码有用
股票分时买卖技巧公式
什么叫做股票分时图?分时图也叫即时走势图,公式股票工具它能够有效的分时分反应市场实时的交易情况,及市场的突破突破网易云课堂 源码买卖情绪。那么,源码有用股票分时图买卖技巧公式是公式股票工具什么呢?新手股民就随小编马上来分析一下。其实,分时分股票分时图买卖主要在于进场与出场的突破突破确定。分时图短线战法在进行看盘的源码有用时候,主要重点对象就是公式股票工具看前面的一个小时,因为开盘分钟基本上能够体现主力的分时分一项,接着的突破突破分钟就预示着其走势,如果是源码有用在尾盘股价进行收高或者被打压下来,更多的就是取决于大盘的氛围了。
公式源码
MA:=EMA(CLOSE,);
强弱:EMA(CLOSE,);
STICKLINE((MA强弱),MA,强弱,烟花的源码1,0),COLORFF;
STICKLINE((A强弱),MA,强弱,1,0),COLORFF;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;{ www.gs。源码设置图com}
阻力:L1+P1*7/8,COLORDD;
支撑:L1+P1*0.5/8,COLORDD;
现价:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),分享助手源码COLORYELLOW;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.,'★B'),COLORYELLOW;{ 吸}
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★'),门店预约源码COLORRED;{ 抛}。
分时横盘突破选股公式
分时横盘突破选股公式为:当股价在特定时间段内稳定维持在一个价格区间内,然后突然出现大单交易,股价突破原有横盘区间。以下是关于分时横盘突破选股公式的
1. 横盘定义:横盘指的是股票价格在一段时间内波动幅度较小,价格保持稳定,没有明显上涨或下跌趋势。此时,股票市场多空双方力量相对平衡。
2. 突破判断标准:当股票价格在一个特定的横盘区间内稳定一段时间后,突然出现大量交易,股价迅速突破原有的价格区间,这通常意味着有主力资金介入,市场趋势可能发生改变。
3. 选股公式应用:投资者可以通过监控股票的分时走势,结合技术分析手段,如量价关系、买卖盘变化等,来判断是否出现了分时横盘突破的情况。一旦出现突破,且伴随着较大的成交量,这可能是一个较好的选股信号。
4. 注意事项:虽然分时横盘突破可能带来投资机会,但投资者在实际操作中还需结合其他因素综合分析,如公司的基本面情况、市场大势等。此外,投资有风险,操作需谨慎。
这一选股公式是技术分析的一种应用,帮助投资者识别市场趋势的变化,从而做出更明智的投资决策。
分时追涨公式
四个分时指标公式:
★分时雄起!分时走势上部主图专用!
ma5:ma(c,5);
ma:ma(c,);
ma:ma(c,);
ma:ma(c,);
ma:ma(c,);
ma:ma(c,);
fa:=barslast(cross(ma,ma5)) and cross(ma5,ma);
fb:=fa and ma5>ma and ma>ma and ma>ref(ma,1);
STICKLINE(fb,l,l-0.,4,0),COLORYELLOW;
DRAWTEXT(fb,l-0.,'雄起'),COLORYELLOW;
fa2:=barslast(cross(ma,ma)) and cross(ma,ma);
fb2:=fa2 and ma>ma and ma>ma and ma>ref(ma,1);
STICKLINE(fb2,l,l-0.,4,0),COLORYELLOW;
DRAWTEXT(fb2,l-0.,'雄起'),COLORYELLOW;
★实战分时!下部专用!可做进一步简化处理!
input:LONG(,1,),SHORT(,1,),M(9,1,),p1(,1,),p2(,1,);
DIF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA:=EMA(DIF,M);
MACD:=2*(DIF-DEA);
MACD2:2*(DEA-DIF),COLORFFB2,DOTLINE;
MA5:=MA(CLOSE,5);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
突破线:=MIN(MA*1.1,MA*1.3);
差幅:=C/MIN(MA*1.1,MA*1.3)-1;
均线流:=(MA5>MA AND MA>MA AND MA>MA AND MA5<MA)*0.3;
PL1:=(CLOSE - MA) / MA < 0.1;
PL2:=(CLOSE - MA) / MA < 0.3;
偏离率:(PL1 = 1 AND PL2 = 1) * 0.2,STICK,COLORFFFF,LINETHICK2;
MACD超跌:=COUNT((DIF<DEA),)=;
MACD1:MACD超跌 * "MACD.MACD"(LONG,SHORT,M)*(-1),COLOR,LINETHICK2;
目标:IF(均线流=0.3 AND MACD超跌 AND 偏离率=0.2 ,0.8,0),COLORFF,LINETHICK2;
MBSJ:=BARSLAST(目标 = 0.8);
放量上涨:=V/REF(V,1) >= 1.1 AND C/REF(C,1) >= 1.;
SZSJ:=BARSLAST(放量上涨 = 1);
MACD雄起:=CROSS(DIF,DEA);
JCSJ:=BARSLAST(MACD雄起 = 1);
关注:(MACD雄起 AND REF(MACD1,1) < 0)*-0.1,COLORFF;
启动:(MBSJ <= AND SZSJ <= 1 AND JCSJ <= 1) * 1,COLORFFFF,LINETHICK2;
突破:(偏离率 = 0 AND REF(COUNT(偏离率 = 0.2,) = ,1) = 1) * -0.1,COLORRED;
STICKLINE(偏离率 = 0.2,0,0.2,1,0),colorFFFF;
DRAWTEXT(关注=-0.1,-0.,'关●注'),colorff;
DRAWTEXT(启动,0.8,'★买'),colorFFFF;
DRAWTEXT(突破=-0.1,-0.,'突●破'),colorred;
NHIGH:=REF(HIGH,);
N1LOW:=REF(LOW,1);
FF:=(((NHIGH - N1LOW) / N1LOW) > 0.);
DRAWICON((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((NHIGH - N1LOW) / N1LOW) <
0.)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW <= MA
(CLOSE,P1))),0.5,1);
DRAWTEXT((((((CROSS(MA(CLOSE,P1),MA(CLOSE,P2)) > 0) AND (((NHIGH - N1LOW) / N1LOW) <
0.)) AND (OPEN >= MA(CLOSE,P1))) AND (CLOSE >= MA(CLOSE,P1))) AND (LOW <= MA
(CLOSE,P1))),0.5,'★^回头望月'),colorCC;
低位雄起:CROSS(DIF,DEA) AND DIF<-0.1,colorwhite;
STICKLINE(低位雄起,0,0.,6,0),COLORwhite;
DRAWTEXT(低位雄起,低位雄起-1.5,' 低位雄起'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
雄起:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,)=1,coloryellow;
STICKLINE(雄起,0,0.,6,0),ColorFFFF;
DRAWICON(雄起,dea*1.,1) ;
DRAWTEXT(雄起,0.5,' 雄起'),ColorYELLOW;
if(dif<0,dif,0),coloryellow,linethick2;
if(dif<0,0,dif),colorred,linethick2;
if(dif<dea,dif,dea),COLORWHITE,linethick2;
if(dif>dea,dea,dea),COLORFF{ colorffff},linethick2;
操盘:STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORRED{ COLORFF};
减仓:STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORblue{ COLORFF};
反弹:STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,4,1),COLORYELLOW{ COLORFFFF};
寻底:STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,4,0),COLORFFFF;
空仓:0,COLORWHITE;
★分时机密!下部专用!可做进一步简化处理!多用于开盘就抓涨!
V1:=(C*2+H+L)/4*;
V2:=EMA(V1,)-EMA(V1,);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
庄秘撤: IF(V4<=0,V4,0),COLORFF,LINETHICK2;
庄秘进: IF(V4>=0,V4,0),COLORFFFF,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,)-EMA(V8,);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;
大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;
aa:=WINNER(CLOSE+CLOSE*/)*;
bb:=WINNER(CLOSE+CLOSE*0/)*;
cc:=aa-bb;
dd:=(WINNER(CLOSE-CLOSE*0.1/)-WINNER(CLOSE-CLOSE*/))*;
ee:=cc<3 and dd<0.5 and OPEN<>LOW;
a1:=DYNAINFO(6);
a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.)/(HIGH-LOW+0.)));
a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,),1);
a5:=REF(LLV(CLOSE,),1);
a6:=*(CLOSE-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/REF(a3,3)>=3 and a6<;
a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);
a:=a8 and a9;
a:=IF(FILTER(a8,3),5,0);
a:=IF(FILTER(a,3) or ee,,0);
筹码进场日:IF(a,8,0),LINETHICK0;
STICKLINE(a,0,,5,0),colorffff;
筹码加仓日:IF(a,,0),LINETHICK0;
STICKLINE(a,0,,5,0),colorffff;
STICKLINE(a,0,5,5,0),colorff;
STICKLINE(a,0,5,4.5,0),colorff;
STICKLINE(a,0,5,4,0),colorff;
STICKLINE(a,0,5,3.5,0),colorffaa;
STICKLINE(a,0,5,3,0),colorffbb;
STICKLINE(a,0,5,2.5,0),colorffcc;
STICKLINE(a,0,5,2,0),colorffdd;
STICKLINE(a,0,5,1,0),colorffee;
STICKLINE(a,0,,4.5,0),color;
STICKLINE(a,0,,4,0),coloraa;
STICKLINE(a,0,,3.5,0),colorbb;
STICKLINE(a,0,,3,0),colorcc;
STICKLINE(a,0,,2.5,0),colordd;
STICKLINE(a,0,,2,0),coloree;
STICKLINE(a,0,,1,0),colorff;
DRAWTEXT(a,8,'筹码进场');
DRAWTEXT(a,,'筹码加仓');
Var1:=REF(LOW,1);
Var2:=SMA(ABS(LOW-Var1),,1)/SMA(MAX(LOW-Var1,0),,1)*4;
Var3:=EMA(Var2,);
Var4:=LLV(LOW,);
Var5:=EMA(IF(LOW<=Var4,Var3,0),3);
主力进场:
STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORRED;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,LINETHICK2;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2,1),COLORGREEN;
Var6:=-3*SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1)+2*SMA(SMA((CLOSE-
LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1),,1);
Var7:=-3*SMA((OPEN-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1)+2*SMA(SMA((OPEN-LLV
(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,,1),,1);
Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(Var8 AND COUNT(Var8,)=1,,'★注意有筹码进场迹象');
★分时作为!(专门监视庄家行动变化)同时也可用于买入信号观注点!
Var1:=EMA(EMA(CLOSE,),);
作为:=(Var1-REF(Var1,1))/REF(Var1,1)*;
无庄作为:STICKLINE(作为<0,作为,0,4,0),colorwhite;
有庄作为:STICKLINE(作为>REF(作为,1) AND 作为>0,作为,0,4,1),colorred;
Var2:=*WINNER(CLOSE*0.);
出货作为:STICKLINE(作为<REF(作为,1) AND 作为>0,作为,0,4,0),colorff;
高度作为:STICKLINE(Var2> AND COST()<CLOSE AND 作为>0,作为,0,4,0),colorffff;
a:=CROSS(作为,0);
开始作为:if(a,6,0),coloryellow;
★分时实战
input:LONG(,1,),SHORT(,1,),M(6,1,),N(6,1,);
MA5:=MA(CLOSE,5);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
DIF:EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA:EMA(DIF,M);
MACD:=2*(DIF-DEA);
Q:2*(DEA-DIF),COLORFF;
MACD超跌:=COUNT((DIF<DEA),)=;
Q1:MACD超跌 * "MACD.MACD"(LONG,SHORT,M),COLORFFFF,LINETHICK2;
{ 本行中,大智慧版本选择*(-1);飞弧版本选择*(1)}
MACD金叉:=CROSS(DIF,DEA);
DTPL:=MA>MA AND MA>MA AND MA>REF(MA,1);
关注:=(MACD金叉 AND REF(Q1,1) < 0)*-0.1;
均线:(DTPL AND MA5>MA AND MA5<MA)*-0.,colorFFB2,LINETHICK1,PRECIS2,DOTLINE;
偏离:(C<MIN(MA*1.,MA*1.1) AND C>MA)*0.,COLOR,LINETHICK1,PRECIS2,DOTLINE;
DRAWTEXT(关注,-0.,'GZ'),colorff,align1;
BDGD:=C=HHV(C,);
GDSJ:=BARSLAST(BDGD);
目标:IF(均线 AND 偏离 AND GDSJ>=N,0.5,0),COLORffff,POINTDOT,PRECIS1,LINETHICK3;
MBSJ:=BARSLAST(目标);
MAV5:=EMA(V,5);
MAV:=EMA(V,);
LNMACD:=((V-MAV5)/MAV5*2+(V-MAV)/MAV)*;
量坑:=LNMACD<=-;
优选:=目标 AND COUNT(量坑,3)>=1;
DRAWICON(优选,-0.2,);
NHIGH:=REF(HIGH,6);
N1LOW:=REF(LOW,1);
DRAWTEXT((((((CROSS(MA(CLOSE,),MA(CLOSE,)) > 0) AND (((NHIGH - N1LOW) / N1LOW) <
0.)) AND (OPEN >= MA(CLOSE,))) AND (CLOSE >= MA(CLOSE,))) AND (LOW <= MA
(CLOSE,))),0.5,'^回头望月'),colorCC;
低位金叉:=CROSS(DIF,DEA) AND DIF<-0.1;
STICKLINE(低位金叉,0,0.,6,1),COLORwhite;
DRAWTEXT(低位金叉,低位金叉-1.3,' 低金'),COLORWHITE;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,)=1;
STICKLINE(二次金叉,0,0.2,4,0),ColorFFFF;
DRAWTEXT(二次金叉,0.4,' 二金'),ColorYELLOW;
A4:=BARSLAST(ref(cross(dif,dea),1));
B1:=ref(c,A4+1)>c and ref(dif,A4+1)<dif and cross(dif,dea);
DRAWTEXT(FILTER(B1>0,5),dif+0.2,'背离'),COLORyellow;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLORRED{ COLORFF};
STICKLINE(MACD>=0 AND MACD< REF(MACD,1),0,MACD,3,0),COLORblue{ COLORFF};
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLOR4ABEFF{ COLORFFFF};
STICKLINE(MACD<0 AND MACD< REF(MACD,1),0,MACD,3,0),COLORFFFF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
周K:=MA(".K#WEEK"(9,3,3) ,5);
周D:=MA(".D#WEEK"(9,3,3) ,5);
周J:=MA(".J#WEEK"(9,3,3) ,5);
DRAWICON(k< and cross(k,d),MACD,1),align2;
周金RAWTEXT(CROSS(".K#WEEK"(9,3,3),".D#WEEK"(9,3,3)) ,MACD,'▲'),align2,COLORred;
周死RAWTEXT(CROSS(".d#WEEK"(9,3,3),".k#WEEK"(9,3,3))
,macd*1.5,'▼'),align2,COLORgreen;
月金RAWTEXT(CROSS(".K#MONTH"(9,3,3),".D#MONTH"(9,3,3))
,MACD,'▲'),align2,COLORMAGENTA;
月死:DRAWTEXT(CROSS(".D#MONTH"(9,3,3),".K#MONTH"(9,3,3))
,macd*1.5,'▼'),align2,COLOR3fbb8b;
if(dif<0,dif,0),coloryellow,linethick2;
if(dif<0,0,dif),colorred,linethick2;
if(dif<dea,dif,dea),COLORWHITE,linethick2;
if(dif>dea,dea,dea),COLORgreen{ colorffff},linethick2;
HH:=MA(CLOSE,);
GG:=MA(CLOSE,);
上:=ema((MA(HIGH,3) * 1.),);
下:=ema((MA(LOW,3) * 0.),);
决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND
(DIF < 0)),DIF,0.3,1,0),colorFF;
{ DRAWICON((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF
< 0)),0.4,0);}
DRAWTEXT((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF
<= 0)),0.3,'DIF金叉'),colorFF;
STICKLINE(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD <= 0)) AND
((GG - REF(GG,1)) >= 0)),3),0,0.4,1,0),colorFF;
{ DRAWICON(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD <= 0)) AND
((GG - REF(GG,1)) >= 0)),3),0.5,0);}
DRAWTEXT(FILTER(((((MACD >= REF(MACD,5)) AND ((下 - REF(下,1)) > 0)) AND (MACD <= 0)) AND
((GG - REF(GG,1)) >= 0)),3),0.4,'绝佳买入'),colorFF;
跪求通达信分时压力,支撑,主图公式!
突破:=REF(EMA(C,),1);
A1X:=(EMA(C,)-突破)/突破*;
多方:=IF(A1X>=0,REF(EMA(C,),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,,0),COLOR;
STICKLINE(A1X<0,空方,突破,,0),COLORCC;
EE:=(H+L+O+2*C)/5;
CRTP:=EE+(H-L);
CRZL:=2*EE-L;
CRZC:=2*EE-H;
CRFZ:=EE-(H-L);
顶:CONST(CRTP),COLORRED;
压:CONST(CRZL),COLORC7C9FF;
撑:CONST(CRZC),COLOR7C9CFF;
跳:CONST(CRFZ),COLORDDDD;
弹:MA(CLOSE,3);
支撑:EXPMA(CLOSE,);
起涨:MA(C,),COLORFFFF,LINETHICK2;
涨:IF(MA(CLOSE,)>REF(MA(CLOSE,),1),MA(CLOSE,),DRAWNULL),COLORRED,LINETHICK2;
平:IF(MA(CLOSE,)=REF(MA(CLOSE,),1),MA(CLOSE,),DRAWNULL),COLORFFFF,LINETHICK3;
跌:IF(MA(CLOSE,)<REF(MA(CLOSE,),1),MA(CLOSE,),DRAWNULL),COLORGREEN,LINETHICK2;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
DRAWTEXT(ISLASTBAR,跳 , '跳起'),LINETHICK1,COLORDDDD;
DRAWTEXT(ISLASTBAR,撑 , '撑力'),LINETHICK1,COLOR7C9CFF;
DRAWTEXT(ISLASTBAR,压 , '压力'),LINETHICK1,COLORC7C9FF;
DRAWTEXT(ISLASTBAR,顶 , '顶破'),LINETHICK1,COLORFF;
A:MA(C,)<MA(C,) AND COUNT(CROSS(MA(C,5),MA(C,)),) AND REF(L,1)<REF(MA(C,),1) AND REF(C,1)<REF(MA(C,5),1) AND C>REF(H,1) AND REF(C,1)<REF(H,2) AND COUNT(MA(C,)>REF(MA(C,),1),5)>1,NODRAW;
B:MA(C,)>MA(C,) AND REF(L,1)<REF(MA(C,),1)*1. AND C>REF(H,1) AND REF(C,1)<REF(H,2) AND REF(C,1)<REF(H,2),NODRAW;
DRAWICON(A,L-0.,);
DRAWICON(B,L-0.,);
HH:=LLV(L,7)*1.-0.;
STICKLINE(H>=HH,H,H*1.,1,0),COLORFFFF;
TT2:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.),0.9);
TT1:=REF(EMA(TT2,3),1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * );
FF:=EMA(CLOSE,3);
AA1:=AMOUNT/VOL;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*>1.2;
DD1:=L<MA(C,5)*0.;
EE1:=VOL<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
F:=*(C-REF(C,1))/REF(C,1);
P1:=IF(C<REF(O,1) AND F<0,1,0);
P2:=IF(C<REF(O,2) AND F<0,1,0);
TT3:=P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 ;
TT4:=P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0 ;
STICKLINE(TT3,OPEN,CLOSE,3,0),COLORFFFF;
日跌:L*0.,NODRAW,COLORFFFF;
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
P:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0);
P:=今小前;
DL:=P=1 AND REF(P,1)=0 AND P=1 AND REF(P,1)=0;
STICKLINE(DL,O,C,0.1,0),COLORAAAAAA;
BB :=MAX(C,O)-(REF(MAX(C,O),2)-MAX(C,O))/2;
买点:=(H-(REF(H,2)-H)/2);
AA:MAX(BB,买点),NODRAW,COLORFFFF;
STICKLINE(C<O AND F<-3 AND F>-5,C+(O-C)/3,C+(O-C)/3,2.5,0),COLORRED;
STICKLINE(C<O AND F<-3 AND F>-5,C+2*(O-C)/3,C+2*(O-C)/3,2.5,0),COLORRED;
STICKLINE(C<O AND F<=-5 AND F>-7,C+(O-C)/2,C+(O-C)/2,2.5,0),COLORYELLOW;
STICKLINE(C<O AND F<=-7 AND F>-,C+2*(O-C)/3,C+(O-C)/3,2.5,1),COLORYELLOW;
STICKLINE(C<O AND F<=-9.9,O,C,2.5,0),COLORFF;
STICKLINE(C>O AND F>2.9 AND F<5,O+(C-O)/3,O+(C-O)/3,2.5,0),COLORYELLOW;
STICKLINE(C>O AND F>2.9 AND F<5,O+2*(C-O)/3,O+2*(C-O)/3,2.5,0),COLORYELLOW;
STICKLINE(C>O AND F>=5 AND F<7,O+(C-O)/2,O+(C-O)/2,2.5,0),COLORYELLOW;
STICKLINE(C>O AND F>=7 ,O+2*(C-O)/3,O+(C-O)/3,2.5,1),COLORYELLOW;
A1:=MA(CLOSE,)+ABS(MA(CLOSE,)-REF(MA(CLOSE,),1));
B1:=MA(CLOSE,)+MA(CLOSE,)-REF(MA(CLOSE,),1);
分水岭:IF(MA(CLOSE,)<B1,B1,MA(CLOSE,)),COLORFFFF,LINETHICK2;
操作线:分水岭-(EMA(C,3)-分水岭),COLORFFFF,LINETHICK2;
PM:MA(C,5),COLORWHITE,LINETHICK2;
IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF,LINETHICK2;
S:=(PM>操作线);
DD:=分水岭<REF(分水岭,1);
IF(DD,分水岭,DRAWNULL),COLORFF,LINETHICK2;
IF(S,分水岭,DRAWNULL),COLORFF,POINTDOT,LINETHICK4;
DRAWICON(CROSS(分水岭,操作线),分水岭-0.1,1);{ 买入红箭头};