1.请高手把这个通达信主公式改成选股指标
2.分时追涨公式
请高手把这个通达信主公式改成选股指标
第一个N:=IF(BARSCOUNT(C)>=,筹码筹码,BARSCOUNT(C));
AMOV:=VOL(C+L+H)/3;
MN:=SUM(AMOV,N)/SUM(VOL,N);
XG1:C>MN;
第二个
N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
MN1:=SUM(AMOV,N1)/SUM(VOL,N1);
XG2:C>=MN1 AND REF(C
你说的收盘价由灰色变为**我没看见,短线是由绿色变为**,中线是由灰色变为**,上面公式第一个是收盘价大于中线,第二个是短线由绿线变为
**麻烦朋友给我编辑一个通达信的选股指标
可以编写当日涨幅大于%,日跌幅-%以上,分时分去除一字板,公式但是源码这个条件的第一个条件获利筹码比例计算结果与系统显示结果会有误差,这个误差无法解决你能接受这个问题这个公式就可以编写。筹码筹码
请问各位有没有比较好的分时分openvpn server源码炒股短线卖出指标或者条件选股。我用的公式是通达信。
做短线不等同于今天买明天卖。源码最后,筹码筹码从道斯理论来看,分时分尽管做短线是公式短期行为,但是源码短期行为不是对长期走势的否定,对一个短线品种的筹码筹码把握应该是看长做短,通常笔者将一个图形分解为周线,分时分月线,公式日线,源码编码的数字分钟线来观察,只有那些四种周期同时处于波浪理论中上升三浪的股票才是短线安全与收益最大化的保证。
分析一个股票首先从它的形态入手,短线炒手拒绝任何的失去上攻动力的股票,也就是说一只真正值得介入的股票,其上攻的形态一定要完全完美,这种形态的完美不是仅仅表现在日线图表上。应该将其展开看成各种周期复合状态下的攻击形态。
最重要的是分时报价震荡图上的上攻状态与上攻气势,关键技术点位是采取压单突破还是轻松突破。这都是必须考核的指标。从现行券商主力运作的习惯来看前者运用的比较多。有一个值得一提的问题是关于上攻的浪型的如何判断完毕?笔者没有完全分析清楚,只是提出一些解决途径:
第一,大盘的自制小程序源码见顶决定了个股的上攻浪型运行完毕。板块的回调加速了浪型的完毕。
新浪财经网|新浪财经博客|新浪财经股票首页,没有击穿前期一年之内顶的股票可以认为是上攻浪型没有运行完毕。
如何判断一只股票能够有能力穿过前期高点这里面牵涉到一些分析盘面的真功夫,如主力的试盘,夹板,逼仓,压盘,震仓,倒仓和反技术的高级技术骗线等等。以后的论述中将进一步的阐明。
主力运作背离与同步在价量等历史资料的基础上进行统计,数学计算,绘制方法是技术分析方法的主要手段。通常技术分析分为五类:指标类,phpcms网上祭奠源码切线类。形态类,k线类与波浪类。这是一个初学者必须掌握的实战基本技能。我们将着重分析其中的可利用性。
(1)所谓指标类技术分析是指考虑市场行为的各个方面,建立一个数学模型,给出数学上的计算公式,得到一个体现市场的某个方面的内在实质的数字,这个数字叫指标数值。例如传统的kdj,macd。大家知道了指标是如何产生的便知道所谓的万能指标是不复存在的。那些企图利用某些特定的历史条件下的指标黑马擒拿术证明自己的指标如何万能是自己欺骗自己的鬼把戏。
股市的仙武mud源码未来预测性决定了指标是来实战的,不是靠几个做了手脚的数据游戏来安慰自己。这个通病在现在的股票软件开发商身上很流行。有很多善良的投资者在初入股市的过程中不注意指标的特定范围和含义,盲目的利用指标进行投资。结果得出了一个指标无用论的论调。其实在我们新兴的市场里主力庄家常利用广大股民对指标的一知半解达到自己不可告人的目的。指标一般分为预测型、讯号型指标、交易系统型指标三大类。我们做短线的时候应该知道指标的适用期限才能够将十八般武器全部使用灵活,达到每战必胜。
(2)切线类指标是比较强调趋势的,趋势简单的说便是股票价格运行的方向,某种趋势形成之后若想改变的话是要有足够影响它的外力。所以一旦股票处于加速上扬期间的话,持有是我们最好的选择。当然这种趋势应该是从长期去把握。切线理论中比较重要的是一些趋势线与黄金分割线的技巧,这对于短线投资者来说很重要。适当的应用江恩回调带的理论可以对你有极大的帮助。
(3)形态理论与周线理论:由于现阶段主力运作周期的加大,长庄股的粉墨登场。日线图上揭示的传统理论信息容易被主力骗线。所以在这里我引入了一个周线理论。从周线上我们可以以战略者的眼光观察股价现在处于何种状态之中。形态理论的效用才能达到完美的体现。如果只注意所谓的短期日线形态,你将饱尝主力骗线的苦果。如主力成本区域内做的m头。具体参考年的4.-4.的()通葡萄酒。从日线看形态极其恶劣。但是从周线看便恍然大悟了,主力的欲擒故纵之心跃然“图”上,投资者可以大胆坚决吸纳。
我想把这个指标用通达信选股器选出来,条件是出现“看底”的时候,求高手帮忙!
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARD:=(CLOSE
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR:=(REF(VAR,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2));
VAR:=((REF(VARD OR VARE OR VARF OR VAR OR VAR OR VAR OR VAR OR VAR OR VAR OR VAR OR VAR OR VAR,1)) AND VAR1);
A:=(3C+H+L+O)/6;
XJ:=(A+REF(A,1)+REF(A,2)+REF(A,3)+REF(A,4))/;
YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),)+MA(HHV(A,2),)+MA(HHV(A,2),))/4;
YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),)+MA(LLV(A,2),)+MA(LLV(A,2),))/4;
SMH:=EMA(YCZXH,);
SML:=EMA(YCZXL,);
SMJ:=(SML+SMH)/2;
PJ:=(A+9REF(A,1)+8REF(A,2)+7REF(A,3)+6REF(A,4)+5REF(A,5)+4REF(A,6)+3REF(A,7)+2REF(A,8)+REF(A,9))/;
A1:=EMA(PJ,3),COLOR;A2:=EMA(PJ,5);
A3:=EMA(PJ,7),COLOR;A4:=EMA(PJ,9);
A5:=EMA(PJ,);
LX:=REF(XJ,1);
ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1));
KX1:=(CLOSE>=OPEN) AND ZD>=;
KX2:=(CLOSE=;
KX3:=(CLOSE>=OPEN) AND ZD
KX4:=(CLOSE
AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOLC,0),0);
AAA3:=SUM(IF( CLOSE
AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOLC,0),0);
BB1:=0;
B1万元:=DVOLDCLOSE/;
B1差:=B1万元-REF(B1万元,1);
B2万元:=DVOLDCLOSE/;
B2比:=B2万元/REF(B2万元,1);
净流入万元:=(AAA2-AAA3-AAA4);
PM:=MA(净流入万元,1);
PMA:=PM/REF(PM,1)>1;
PMB:=REF(PMA,1)
密码:=(EMA(MA(B1万元,2),2))/;
二日比:=密码/REF(密码,1);
选股:=PMB AND 密码>REF(密码,1) AND 二日比>1;
均价线:=AMOUNT/V/;
均价线2:=MA(均价线,3);
均价线5:=MA(均价线,5);
均价线:=MA(均价线,);
均价线:=MA(均价线,);
XG:C>均价线2 AND 均价线2
ANDREF(均价线2,2)0;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
通达信短线指标
VAR1:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,));
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3VAR2-2VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5),4)2;
VAR8:=EMA(REF(VAR7,1)+VAR7,2);
VAR9:=3VAR7-2VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,))/(HHV(VARC,)-LLV(VARB,))+-;
VARE:=SMA(VARD,3,1)-;
VARF:=SMA(VARE,3,1);
VAR:=3VARE-2VARF;
VAR:=(HIGH+LOW+CLOSE2)/4;
VAR:=EMA(VAR,);
VAR:=STD(VAR,);
VAR:=(VAR-VAR)/VAR;
VAR:=EMA(VAR,5);
VAR:=EMA(VAR,)+-;
VAR:=EMA(VAR,);
VAR:=3VAR-2VAR;
VAR1A:=VAR2+VAR7+VARE+VAR;
VAR1B:=VAR3+VAR8+VARF+VAR;
VAR1C:=VAR4+VAR9+VAR+VAR;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR:=(VAR1D-MA(VAR1D,))/(AVEDEV(VAR1D,));
VAR:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR:=EMA(VAR,);
VAR:=STD(VAR,);
VAR:=(VAR-VAR)/VAR;
VAR:=(VAR1D-MA(VAR1D,))/(AVEDEV(VAR1D,));
VAR:=EMA(VAR,5);
VAR2A:=((VAR+VAR+VAR)/3+)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,),),5)-)2;
VAR2C:=(VAR1A+VAR1B+VAR1C)//5-;
VAR2D:=EMA(VAR2C,7);
VAR2E:=(VAR2A+VAR2C)/2/;
超短:=EMA(VAR2E,3);
短线:=EMA(超短,5);
趋势线:=EMA((VAR2B+VAR2D)/2,2);
XG:趋势线>REF(趋势线,1)AND REF(趋势线,1)
声明:以下公式不含任何未来函数,如果哪位觉得有未来函数,或者有类似的性质,请指出。
兄弟,指标很多,有用的也很多,但是最关键的还是临盘时的心态,要重视,要像打仗似的,要有性命攸关的觉悟。
送你一个最近帮别人修改的公式,买的信号是原来公式的,我就帮他加了个卖出信号,看起来还不错。直接发到这里,要不往你邮箱发了,公式不要怕被人知道,知道是一回事,会用又是一回事,你敢用,用的好,就是知道的多了,也没事,像MACD之类的不是全世界都知道,只要自己总结出自己的方法,一样会盈利。最后提醒一下兄弟,有了指标,还是要锻炼自己的心态,我们都是在路上,一起共勉吧。分不分的无所谓,你看着给吧。
通达信公式源码:
{ 锯齿顶底 }
STICKLINE(O>C,H,O,0,1), COLORGREEN;
STICKLINE(O>C,O,C,2,1),COLORGREEN;
STICKLINE(O>C,L,C,0,1), COLORGREEN;
STICKLINE(O
STICKLINE(O
STICKLINE(O
STICKLINE(CLOSE=O,LOW,H,0,1),COLORRED;
STICKLINE(CLOSE=O,O,C,2,1),COLORRED;
MA2:MA(CLOSE,M2),COLORCYAN;
MA3:=MA(CLOSE,M3),COLORA6A6A6;
MA4:=MA(CLOSE,M4),COLORGREEN;
MA1:MA(CLOSE,M1),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) );
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),);
PDI:=((DMP ) / TR1);
MDI:=((DMM ) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) ),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR:=(( (HHV(HIGH,) - CLOSE)) / (HHV(HIGH,) - LLV(LOW,)));
NEWVOL:=(RSI5 - WR);
NEWVOL2:=(RSI5 + WR);
买:=(AV + NEWVOL);
DRAWTEXT(CROSS(买,0),L,'买'),COLORFFFF;
DRAWICON(CROSS(买,0),L,1);
卖:=(AV + NEWVOL2);
{ 卖2:=(AV - NEWVOL);}
{ DRAWTEXT(CROSS(MAX(买,DXR),卖2),H,'卖2'),COLORLIGREEN;
DRAWICON(CROSS(MAX(买,DXR),卖2),H,2);}
DRAWTEXT(CROSS(卖,),H,'卖'),COLORLIGREEN;DRAWICON(CROSS(卖,),H,2);
最后再送你 买 信号的 选股 预警 公式:
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) );
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),);
PDI:=((DMP ) / TR1);
MDI:=((DMM ) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) ),5);
AV:=(RSI5 + ADX);
WR:=(( (HHV(HIGH,) - CLOSE)) / (HHV(HIGH,) - LLV(LOW,)));
NEWVOL:=(RSI5 - WR);
买:=(AV + NEWVOL);
买预警:CROSS(买,0);
分时追涨公式
四个分时指标公式:
★分时雄起!分时走势上部主图专用!
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;