大智慧预测股价指标公式,大智慧大跌中找主力指标公式
admin888
|大智慧预测股价指标公式,大智慧大跌中找主力指标公式
大智慧预测股价指标公式
N:=0;
{预测当天最低价公式}A1:=REF(O,1);
A2:=ABS((REF(C,1)-A1)/A1);
A3:=ABS((REF(H,1)-A1)/A1);
A4:=ABS((REF(L,1)-A1)/A1);
B1:=ABS((A2+A3+A4)/3);
B2:=O*B1;
预测低一:O-B2,linethick0;
最低价:low,coloryellow,linethick0;
预测高一:=O+B2;
{预测当天股价公式}
开盘价1:=open;
开盘价2:=REF(open,1);
最高价1:=high;
最高价2:=REF(high,1);
最低价1:=low;
最低价2:=REF(low,1);
收盘价1:=CLOSE;
收盘价2:=REF(CLOSE,1);
AA:=最高价2;
BB:=最低价2;
CC:=开盘价2;
DD:=收盘价2;
EE:=(AA+BB+CC+2*DD)/5;
AAA:=EE+(AA-BB);
BBB:=2*EE-BB;
CCC:=2*EE-AA;
DDD:=EE-(AA-BB);
上升突破价:=AAA;
上升阻力价:=BBB;
下跌支撑价:=CCC;
下跌反转价:=DDD;
EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;
心理价:=EEE;
FFF:=(EEE+开盘价1)/2;
GGG:=(预测低一+FFF)/2;
预测低二:GGG,colorffffff,LINETHICK0;
最高价:high,colorred,linethick0;
{预测今日最高价公式}
预测高二:=MA(REF(HIGH,1)/REF(CLOSE,2),N)*REF(CLOSE,1);
开盘价:open,colorffffff,linethick0;
收盘价:close,coloryellow,linethick0;
差额一:预测低一-low,colorffffff,LINETHICK0;
差额二:预测低二-low,colorffffff,LINETHICK0;
差比一:(差额一/low)*100,colorffffff,LINETHICK0;
差比二:(差额二/low)*100,colorffffff,LINETHICK0;
DRAWTEXTREL(10,60,' ★ 今日最低价:'+NUMTOSTRN(low,2)+'元'),coloryellow,linethick1;
DRAWTEXTREL(10,200,' 预测 预测低一: '+NUMTOSTRN(ref(预测低一,0),2)+'元'+' 预测低二: '+NUMTOSTRN(ref(ggg,0),2)+'元'),colorffffff,linethick1;
DRAWTEXTREL(10,350,'目前差价 '+NUMTOSTRN(ref(差额一,0),2)+'元 '+ NUMTOSTRN(ref(差额二,0),2)+'元'),coloryellow,linethick1;
DRAWTEXTREL(10,470,'目前差比 '+NUMTOSTRN(ref(差比一,0),2)+'% '+ NUMTOSTRN(ref(差比二,0),2)+'%'),coloryellow,linethick1;
DRAWTEXTREL(320,150,' ● 今日最高价:'+NUMTOSTRN(high,2)+'元'),coloryellow,linethick1;
DRAWTEXTREL(350,350,' 预测高一: '+NUMTOSTRN(ref(预测高一,0),2)+'元'),colorffffff,linethick1;
DRAWTEXTREL(350,470,' 预测高二: '+NUMTOSTRN(ref(预测高二,0),2)+'元'),colorffffff,linethick1;
{T + 0 操作数据}pp:=0.0115;{可调整}
成本价:=预测低二*1.006;{也是买回价}卖出价:=成本价*(1+pp);
高低差一:=预测高一-预测低二;
高低差二:=预测高二-预测低二;
差价比一:=卖出价/预测高一*100;
差价比二:=卖出价/预测高二*100;
昨日高低比:=(最高价2-最低价2)/最高价2*100;
目前高低比:=(最高价1-最低价1)/最高价1*100;
ssu1:=卖出价<预测高一 and 卖出价<预测高二;
ssu2:=卖出价>预测高一 or 卖出价>预测高二 or 差价比一 >98% or 差价比二 >98%;
DRAWTEXTREL(500,60,' ★ T + 0 操作数据 目前纯利设定为:'+NUMTOSTRN(ref(pp*100,0),2)+'%'),coloryellow,linethick1;
DRAWTEXTREL(530,200,' 成本价: '+NUMTOSTRN(ref(成本价,0),2)+'元'+' 卖出价: '+NUMTOSTRN(ref(卖出价,0),2)+'元'),colorffffff,linethick1;
DRAWTEXTREL(530,350,' 高低差一: '+NUMTOSTRN(ref(高低差一,0),2)+'元'+ ' 差价比一: '+NUMTOSTRN(ref(差价比一,0),2)+'%'),coloryellow,linethick1;
DRAWTEXTREL(530,470,' 高低差二: '+NUMTOSTRN(ref(高低差二,0),2)+'元'+ ' 差价比二: '+NUMTOSTRN(ref(差价比二,0),2)+'%'),coloryellow,linethick1;
DRAWTEXTREL(750,200,' 买回价: '+NUMTOSTRN(ref(ggg,0),2)+'元'),colorffffff,linethick1;
DRAWTEXTREL(750,470,' 昨日高低比: '+NUMTOSTRN(ref(昨日高低比,0),2)+'%'),colorffffff,linethick1;
DRAWTEXTREL(750,350,' 目前高低比: '+NUMTOSTRN(ref(目前高低比,0),2)+'%'),colorffffff,linethick1;
IF BARSTATUS=2 AND ssu1 THEN BEGINDRAWTEXTREL(530,610,' ★ 设定成功'),COLORRED,linethick1;
ENDELSEIF BARSTATUS=2 AND ssu2 THEN BEGIN
DRAWTEXTREL(530,610,' ● 设定失败'),COLORgreen,linethick1;
ENDsu1:=预测低二>low and 卖出价
su2:=预测低二
IF BARSTATUS=2 AND su1 THEN BEGIN
DRAWTEXTREL(650,610,'★ 操作成功'),COLORRED,linethick1;
ENDELSEIF BARSTATUS=2 AND su2 THEN BEGINDRAWTEXTREL(650,610,'● 操作失败'),COLORgreen,linethick1;
END顶线:=80;
顶线:=80;
{黄金点:=-20;}
预测一:=-35;
预测二:=-50;
失败:=-65;
底线:=-75;
DRAWTEXT(DISPSTATUS=2,顶线,' 80'),COLORred,ALIGN0;
{DRAWTEXT(DISPSTATUS=2,黄金点,' 黄金买点'),COLORffffff,ALIGN0;}
DRAWTEXT(DISPSTATUS=2,预测一,' 预测一'),COLORred,ALIGN0;
DRAWTEXT(DISPSTATUS=2,预测二,' 预测二'),COLORyellow,ALIGN0;
DRAWTEXT(DISPSTATUS=2,失败,' 未到位'),COLORgreen,ALIGN0;
DRAWTEXT(DISPSTATUS=2,底线,' -75'),COLORgreen,ALIGN0;
{DRAWTEXT(low
{DRAWTEXT(low>hjmd,-20,'●'),COLORgreen,ALIGN1;}
DRAWTEXT(low<预测低一,-35,'☆'),COLORred,ALIGN1;
DRAWTEXT(low<预测低二,-50,'☆'),COLORyellow,ALIGN1;
DRAWTEXT(low>预测低二,-65,'●'),COLORgreen,ALIGN1;
DRAWTEXTABS(5,5,'),linethick1,COLOR00EEff;
{说明:红树林园 这一段源码做出来的效果是买点到位闪烁交替显示[风险]和[注意]}Amod:=MOD(CURRENTTIME,2);
DRAWTEXT(DISPSTATUS=2 and Amod=0,50,'预测警示'),colorffffff;
DRAWTEXT(DISPSTATUS=2 and low<预测低一 and Amod=0,30,'预测一 ☆'),colorred;
DRAWTEXT(DISPSTATUS=2 and low<预测低一 and Amod=1,30,'预测一 ☆'),coloryellow;
DRAWTEXT(DISPSTATUS=2 and low<预测低二 and Amod=0,10,'预测二 ☆'),colorred;
DRAWTEXT(DISPSTATUS=2 and low<预测低二 and Amod=1,10,'预测二 ☆'),coloryellow;
{DRAWTEXT(DISPSTATUS=2 and low
{DRAWTEXT(DISPSTATUS=2 and low
DRAWTEXT(DISPSTATUS=2 and low>预测低一 and Amod=0,30,'预测一 ●'),colorgreen;
DRAWTEXT(DISPSTATUS=2 and low>预测低一 and Amod=1,30,'预测一 ●'),colorffffff;
DRAWTEXT(DISPSTATUS=2 and low>预测低二 and Amod=0,10,'预测二 ●'),colorgreen;
DRAWTEXT(DISPSTATUS=2 and low>预测低二 and Amod=1,10,'预测二 ●'),colorffffff;
{DRAWTEXT(DISPSTATUS=2 and low>hjmd and Amod=0,20,'黄金买点 ●'),colorgreen;}
{DRAWTEXT(DISPSTATUS=2 and low>hjmd and Amod=1,20,'黄金买点 ●'),colorffffff;};
大智慧大跌中找主力指标公式
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
庄秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;
庄秘进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;
大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;
DRAWTEXTABS(5,5,'),linethick1,COLOR00EEff;
aa:=WINNER(CLOSE+CLOSE*15/100)*100;
bb:=WINNER(CLOSE+CLOSE*0/100)*100;
cc:=aa-bb;
dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
ee:=cc<3 and dd<0.5 and OPEN<>LOW;
a1:=DYNAINFO(6);
a2:=IF(LOW>a1,0,IF(HIGH
a3:=VOL/WINNER(LOW);
a4:=REF(HHV(CLOSE,120),1);
a5:=REF(LLV(CLOSE,120),1);
a6:=100*(CLOSE-a5)/(a4-a5);
a7:=a2>0 or a2=1;
a8:=a7 and a3/REF(a3,3)>=3 and a6<80;
a9:=REF(a8,1) or REF(a8,2) or REF(a8,3) or REF(a8,4);
a10:=a8 and a9;
a11:=IF(FILTER(a8,3),5,0);
a12:=IF(FILTER(a10,3) or ee,10,0);
筹码进场日:IF(a11,8,0),LINETHICK0;
STICKLINE(a12,0,15,5,0),colorff00ff;
筹码加仓日:IF(a12,88,0),LINETHICK0;
STICKLINE(a12,0,15,5,0),colorff00ff;
STICKLINE(a11,0,5,5,0),colorff7700;
STICKLINE(a11,0,5,4.5,0),colorff8800;
STICKLINE(a11,0,5,4,0),colorff9900;
STICKLINE(a11,0,5,3.5,0),colorffaa00;
STICKLINE(a11,0,5,3,0),colorffbb00;
STICKLINE(a11,0,5,2.5,0),colorffcc00;
STICKLINE(a11,0,5,2,0),colorffdd00;
STICKLINE(a11,0,5,1,0),colorffee00;
STICKLINE(a12,0,15,4.5,0),color102099;
STICKLINE(a12,0,15,4,0),color1020aa;
STICKLINE(a12,0,15,3.5,0),color1020bb;
STICKLINE(a12,0,15,3,0),color1020cc;
STICKLINE(a12,0,15,2.5,0),color1020dd;
STICKLINE(a12,0,15,2,0),color1020ee;
STICKLINE(a12,0,15,1,0),color1020ff;
DRAWTEXT(a11,8,'筹码进场');
DRAWTEXT(a12,17,'筹码加仓');
Var1:=REF(LOW,1);
Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;
Var3:=EMA(Var2,13);
Var4:=LLV(LOW,34);
Var5:=EMA(IF(LOW<=Var4,Var3,0),3);
主力进场:STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORRED;
Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-
LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV
(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var8:=Var6REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(Var8 AND COUNT(Var8,30)=1,40,'★注意有筹码进场迹象');
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。