决策公式!自己看吧!小插件喜欢就复制去哦!
{决策线}input:N(5,1,111),N1(10,1,111),P(3,0.1,30),M(21,0,100);
a1:=(IF((DATE <= 1091025),1,0)) * (IF((CURRENTDATE <= 1091025),1,0));
a2:=IF((CLOSE < 800),((AMOUNT / VOL)/100),((((CLOSE * 2) + HIGH) + LOW) / 4));
a3:=((HHV(HIGH,15)) + (LLV(LOW,30)))/2;
a4:=EMA((MA(a2,5)),10);
a5:=EMA((MA(a2,15)),10);
a6:=EMA((MA(a2,13)),21);
a7:=((a4 + a5) + a6) / 3;
a8:=(((REF(a7,1)) + a7) + (REF(a7,2)))/3;
决策线:EMA((MA(CLOSE,5)),3),colorGreen;
PARTLINE(决策线,决策线 > (REF(决策线,3)),RGB(255,0,0)),linethick1,colorRed;{没有它决策线不变色};
决策线角度:IF(dynainfo(4)>0,ATAN((决策线/REF(决策线,1)-1)*100)*180/3.1416,0),colorcyan,linethick0;
现价:C,Color888888,LINETHICK0;{现价设置}
{K线颜色从颜色边缘开始向中心渐变}
{45度}
x1:=(C+L+H)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
DRAWTEXT(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45上升'),colorred;
四十五度:filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),LINETHICK0;
{阻力位和支撑位}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
G:=95;
DRAWTEXT(cross(J,D),L*0.999,''),Color00ffff,linethick4;
DRAWTEXT(cross(J,D),L,''),Color00ffff;
DRAWTEXT(cross(J,G),H*1.005,''),Colorffff00,linethick4;
DRAWTEXT(cross(J,G),H,''),Colorffff00;
dp:=if(c=INDEXC,0,1);
gj:=AMOUNT/v/100;
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
STICKLINE(DISPSTATUS=2 and dp=1 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;
STICKLINE(DISPSTATUS=2 and dp=1and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;
STICKLINE(DISPSTATUS=2 and dp=1and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;
STICKLINE(DISPSTATUS=2 and dp=1and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;
if DISPSTATUS=2 then a:=BARPOS;
if DISPSTATUS=1 then b:=BARPOS;
d:=a-b;
e:=hhv(h,d);
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2, e*1.08,'-----------------------------------'),ColorFFFFFF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c>=今日支撑, e*1.07,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )+' '),ColorFF00FF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c<今日支撑, e*1.07,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )+' '),ColorFF0000,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c>=今日阻力, e*1.07,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color0000FF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c<今日阻力, e*1.07,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color00FF00,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2, e*1.04,'-----------------------------------'),ColorFFFFFF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c>=明日支撑, e*1.05,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )+' '),Color00FFFF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c<明日支撑, e*1.05,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )+' '),Color00FFFF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c>=明日阻力, e*1.05,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF,ALIGN2;
DRAWTEXT(c>0 and dp=1and DISPSTATUS=2 and c<明日阻力, e*1.05,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF,ALIGN2;
DRAWTEXT(c>0 and dp=1 and DISPSTATUS=2 and v>ref(v,1) and ma(v,5)>ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日,且有继续增大趋势'),Color8285FF,ALIGN2;
DRAWTEXT(c>0 and dp=1 and DISPSTATUS=2 and v<ref(v,1) and ma(v,5)>ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,但有放大迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c>0 and dp=1 and DISPSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日, 但有缩小迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c>0 and dp=1 and DISPSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,且有缩小迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c>0 and dp=1 and DISPSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量大于昨日, 但有缩小迹象'),Color8285FF,ALIGN2;
DRAWTEXT(c>0 and dp=1 and DISPSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma(v,5),1),e*1.03,' 今日成交量小于昨日,且有缩小迹象'),Color8285FF,ALIGN2;
{当日强势}
当日强势:现价>今日阻力,colorff22ff,linethick0;
DRAWTEXT(当日强势,现价*1,'◆'),Coloryellow,LINETHICK1;
{连续强势}
连续强势:last(当日强势>0),colorRED,linethick0;
{背景文字}
DRAWTEXTREL(8,18,'麒元决策主图'),LINETHICK5,Coloryellow;
{个人印章}
DRAWRECTABS(171 ,12,215 ,57 ,0),LINETHICK4,COLOR6600FF;
DRAWTEXTABS(177 ,17,'元陶'),LINETHICK2,COLOR6600FF;
DRAWTEXTABS(177 ,37,'印麒'),LINETHICK2,COLOR6600FF;
Q:=20;
Q1:=7;
Q2:=69;
T1:=IF((DATE<=1501228),1,0);
M3:=EMA(CLOSE,3);
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
M62:=EMA(M8,55);
VAR1:=EMA(M13,62);
M81:=EMA(M62,81);
M144:=EMA(VAR1,144);
M250:=EMA(VAR1,250);
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),CoLor00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),CoLorFF0000;
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
VAR6:=MA(CLOSE,Q)+((2)*(STD(CLOSE,Q)))*(T1);
启动:(CROSS(VAR3,VAR4)),Color00FDFF,LINETHICK0;
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),CoLor00FFFF;
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),CoLor008000;
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),Q1,1))/(SMA(ABS(CLOSE-VAR7),Q1,1)))*(100);
VAR9:=CROSS(Q2,VAR8);
VARA:=(FILTER(VAR9,4))*(T1);
DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF;
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF;
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);
DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;
接力黄金柱选股公式 http://www.178448.com/thread-1014319-1-1.html
缺口不补选股公式 http://www.178448.com/thread-1013425-1-1.html
梯量柱选股公式 http://www.178448.com/thread-1012949-1-1.html
涨停预报专家V4副图指标 http://www.178448.com/thread-1015302-1-1.html
涨停预报专家选股指标 即将发布
三一二一选股公式 http://www.178448.com/thread-1006781-1-1.html
三一二一主图指标 http://www.178448.com/thread-1003354-1-1.html
四维看盘主图指标 http://www.178448.com/thread-997829-1-1.html
黄金柱主图指标--金将军 http://www.178448.com/thread-994639-1-1.html
黄金线上阳盖阴选股公式 即将发布
过凹间峰选股公式 即将发布
倍量柱选股公式--小倍阳,缩倍阳,连倍阳 http://www.178448.com/thread-1011133-1-1.html
倍量伸缩选股公式增强版 http://www.178448.com/thread-1001197-1-1.html
涨停龙虎榜选股公式 http://www.178448.com/thread-990850-1-1.html
顺势二牛选股公式 http://www.178448.com/thread-990083-1-1.html
天鹰开路选股公式 http://www.178448.com/thread-987681-1-1.html
超跌选股公式 http://www.178448.com/thread-985270-1-1.html
超跌选股公式应用示例 http://www.178448.com/thread-989332-1-1.html
板后单枪选股公式 http://www.178448.com/thread-984366-1-1.html
板后双枪选股公式 http://www.178448.com/thread-984772-1-1.html
板后缩量不破21选股公式 http://www.178448.com/thread-990849-1-1.html
T4缩量变异选股公式 http://www.178448.com/thread-972147-1-1.html
T4放量变异选股公式 http://www.178448.com/thread-972140-1-1.html
黄金柱选股公式 http://www.178448.com/thread-972569-1-1.html
高量柱选股公式 http://www.178448.com/thread-972564-1-1.html
缩量双阴选股公式 http://www.178448.com/thread-982057-1-1.html
缩量不破31选股公式 http://www.178448.com/thread-983173-1-1.html 黑马"在股市术语里,专指那些一直未被投资者关注,突破在某一时刻放量上攻,脱颖而出股价大涨的个股。
其实,任何一只个股成为"黑马",都不是在瞬间完成的,总是有它成长发展的轨迹,下面的标准,可在一只个股中单独存在,也可能共同存在,只要投资者注意观察,是可以作出准确判断的:1、选择有主力运作的个股进行监察。有主力,尤其是有强主力介入的股票一般都有暴升的机会。处于主力收集阶段的个股,其底部形态较为明显,在盘口中也会在分时图中和买卖盘中露出痕迹;拉升阶段,成交量巨额放大、加速萎缩、洗盘砸盘,都可看出主力的影子。此时关注和跟进,可搭一段顺风船。
2、选择技术形态有强实底部的个股。 有主力介入的个股一般底部形态都是坚实的状况,底部越大,持续时间越长,说明主力吸筹越多,控盘的能力越强,以后拉升时上升幅度和空间也越大。
3、选择临近突破形态边缘的个股。技术形态临近突破的个股, 一般都有较长的整理、蓄势阶段,所以,追踪"黑马"要选底部构成圆底形态刚刚突破、或三角形整理低位向上突破时大胆跟进,在突破临近时或已开始突破时跟进,可避免等待太久。
4、选择走势较强的个股。"强者恒强"。在选股时, 如均线系统形成多头排列,股价又站在均线之上,或者是RSI成牛背离的个股,都可大胆介入。
5、选择有题材,能成为市场热点的个股。题材永远是股市炒作的理由, 也是推动股价上涨的客观因素。有题材的个股,市场容易接受,容易集聚人气来投入炒作,也才能为庄家所青睐,上升拉抬的空间较大。
6、选择换手率高的个股。换手充分,可使股价平均成本不断向上抬高, 相应这只个股的上涨底部也被抬高,以后上涨,就比较坚实有力 当前公式 : 决策线 (指标画线公式)
错误句 : {决策线}
INPUT:N(5,1,111),N1(10,1,111),P(3,0.1,30),M(21,0,100)
详细信息 : 您在括号前写的不是函数、公式等,
且缺少必要的运算符!
错误起始位置 : 0 ; 长度: 0 启动后面是个冒号,博客系统认为他是个表情 其实是: 逐渐上移止盈止损位(2040附近),不破不出 逐渐上移止盈止损位 喜欢就复制去 好长的公式!决策线是什么意思啊? {:soso_e179:} {:soso_e179:} 谢谢!收藏! 谢谢学长分享 http://www.178448.com/forum.php?mod=image&aid=414478&size=300x300&key=c72be188f5891315&nocache=yes&type=fixnone
有导出的公式没有? 这是通达信德公式吗?