您的位置:查股网 > 查股公式 > 通达信买进卖出主图指标源码[查股公式]
股票行情消息查询:

通达信买进卖出主图指标源码[查股公式]

2023/1/19 22:29:10

趋势线1: IF(DATE<=1081231,EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),0),LINETHICK0,COLOR0000FF;
趋势线2: IF(DATE<=1081231,EMA(REF(趋势线1,1),3),0),LINETHICK0,COLOR00FFFF;
均线: EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK2,COLORF0F000;{COLORFF0000; }
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9*0.5,0),COLORFF5B00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8*0.5,0),COLORFF6C00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7*0.5,0),COLORFF7B00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6*0.5,0),COLORFF9C00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5*0.5,0),COLORFFBE00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5*0.5,0),COLORFFCC00;
 STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5*0.5,0),COLORFFFF00;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9*0.5,0),COLOR070084;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8*0.5,0),COLOR0000A3;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7*0.5,0),COLOR0000B7;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6*0.5,0),COLOR0000CD;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5*0.5,0),COLOR0000E9;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3*0.5,0),COLOR0754E9;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.5*0.5,0),COLOR076EF3;
 STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1*0.5,0),COLOR077BF3;
 STICKLINE(CLOSE>OPEN,OPEN,LOW,1*0.5,0),COLOR0726CA;
 STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1*0.5,0),COLOR0726CA;
 STICKLINE(OPEN>CLOSE,CLOSE,LOW,1*0.5,0),COLORDE9100;
 STICKLINE(OPEN>CLOSE,OPEN,HIGH,1*0.5,0),COLORDE9100;
 AA1:= AMOUNT/VOL;
 BB1:= LOW<AA1*0.9;
 CC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
 DD1:= LOW<MA(CLOSE,5)*0.921;
 EE1:= VOL<MA(VOL,5)*1.5;
 FF1:= BB1 AND CC1 AND DD1 AND EE1;
买: FILTER(FF1,3) AND DATE<=1080530,LINETHICK0,COLORFFFFFF;

DRAWTEXT(买 AND DATE<=1080530,LOW*0.99,'▲'),COLOR0000FF;
 DRAWTEXT(买 AND DATE<=1080530,LOW*0.96,'买'),COLOR0000FF;
 VAR1:= 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);
 VAR2:= 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);
 VAR3:= VAR1<REF(VAR2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
 DRAWTEXT(VAR3 AND COUNT(VAR3,30)=1,HIGH*1.095,'大资金'),COLOR008000;
 DRAWTEXT(VAR3 AND COUNT(VAR3,30)=1,HIGH*1.06,'进▼场'),COLOR008000;
 Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);
 DRAWTEXT(CROSS(CLOSE,Y1),LOW,'买进'),COLORYELLOW;
 STICKLINE(CROSS(Y1,CLOSE),H*1.05,H,1,0),COLORWHITE;
 DRAWTEXT(CROSS(Y1,CLOSE),HIGH*1.05,'卖出'),COLORWHITE;
 SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
 SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;
 MR:=SC AND COUNT(SS,2);

买1:=MR AND NOT(REF(MR,1));
 STICKLINE(买1,L,L*0.95,1,0),COLORRED;
 DRAWTEXT(买1,L*0.95, '必涨'),COLORRED;
 VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
 STICKLINE(VAR3P>90,L,L*0.92,1,0),COLORFF00FF;
 DRAWTEXT(VAR3P>90,LOW*0.92,'追涨'),COLORFF00FF;
 VAR1Q:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
 VAR2Q:=SMA(ABS(LOW-VAR1Q),13,1)/SMA(MAX(LOW-VAR1Q,0),10,1);
 VAR3Q:=EMA(VAR2Q,10);
 VAR4Q:=LLV(LOW,33);
 VAR5Q:=EMA(IF(LOW<=VAR4Q,VAR3Q,0),5);
主力进场:=FILTER(VAR5Q>REF(VAR5Q,1),5);
 DRAWTEXT(FILTER(VAR5Q>REF(VAR5Q,1),5),LOW*0.995,'↑'),COLORFF0000;
 DRAWTEXT(FILTER(VAR5Q>REF(VAR5Q,1),5),LOW*0.96,'主力'),COLORFF0000;
 STICKLINE(FILTER(VAR5Q>REF(VAR5Q,1),5),CLOSE,OPEN,5,0),COLORFF0000;
 STICKLINE(FILTER(VAR5Q>REF(VAR5Q,1),5),LOW,HIGH,1,0),COLORFF0000;

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29