您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

量神三合一公式[其他软件公式]

相关标签:量神指标 准确神奇 、 大单净量指标公式 、 堆量选股指标公式 、 四量图指标公式 、 四量图指标选股公式 、 奥德量指标公式 、 黑马王子量柱指标公式 、 黄金量柱副图指标公式 、 邱氏量法指标公式源码 、 抄底神针指标公式源码 、

 

量神三合一公式如下:
VAR11:=((((HIGH > LOW) AND (CLOSE > OPEN)) AND (HIGH = CLOSE)) AND (LOW = OPEN));
VAR12:=((VOL * (CLOSE - OPEN)) / (HIGH - LOW));
VD1:=IF(VAR11,VAR12,0);
VZ1:=IF(VAR11,0,0);
VAR21:=((((HIGH > LOW) AND (CLOSE > OPEN)) AND (HIGH = CLOSE)) AND (LOW < OPEN));
VAR22:=(VOL * (((CLOSE - OPEN) / (HIGH - LOW)) + (((2 / 3) * (OPEN - LOW)) / (HIGH - LOW))));
VAR23:=((((VOL * 1) / 3) * (OPEN - LOW)) / (HIGH - LOW));
VD2:=IF(VAR21,VAR22,0);
VZ2:=IF(VAR21,VAR23,0);
VAR31:=((((HIGH > LOW) AND (CLOSE > OPEN)) AND (HIGH > CLOSE)) AND (LOW = OPEN));
VAR32:=(VOL * (((CLOSE - OPEN) / (HIGH - LOW)) + (((1 / 3) * (HIGH - CLOSE)) / (HIGH - LOW))));
VAR33:=((((VOL * 2) / 3) * (HIGH - CLOSE)) / (HIGH - LOW));
VD3:=IF(VAR31,VAR32,0);
VZ3:=IF(VAR31,VAR33,0);
VAR41:=((((HIGH > LOW) AND (CLOSE > OPEN)) AND (HIGH > CLOSE)) AND (LOW < OPEN));
VAR42:=(VOL * ((((CLOSE - OPEN) / (HIGH - LOW)) + (((1 / 3) * (HIGH - CLOSE)) / (HIGH - LOW))) + (((2 / 3) * (OPEN - LOW)) / (HIGH - LOW))));
VAR43:=(VOL * ((((2 / 3) * (HIGH - CLOSE)) / (HIGH - LOW)) + (((1 / 3) * (OPEN - LOW)) / (HIGH - LOW))));
VD4:=IF(VAR41,VAR42,0);
VZ4:=IF(VAR41,VAR43,0);
VAR51:=((((HIGH > LOW) AND (CLOSE < OPEN)) AND (HIGH = OPEN)) AND (LOW = CLOSE));
VAR52:=((VOL * (OPEN - CLOSE)) / (HIGH - LOW));
VD5:=IF(VAR51,0,0);
VZ5:=IF(VAR51,VAR52,0);
VAR61:=((((HIGH > LOW) AND (CLOSE < OPEN)) AND (HIGH = OPEN)) AND (LOW < CLOSE));
VAR62:=((((VOL * (CLOSE - LOW)) / (HIGH - LOW)) * 2) / 3);
VAR63:=(VOL * (((OPEN - CLOSE) / (HIGH - LOW)) + (((1 / 3) * (CLOSE - LOW)) / (HIGH - LOW))));
VD6:=IF(VAR61,VAR62,0);
VZ6:=IF(VAR61,VAR63,0);
VAR71:=((((HIGH > LOW) AND (CLOSE < OPEN)) AND (HIGH > OPEN)) AND (LOW = CLOSE));
VAR72:=((((VOL * 1) / 3) * (HIGH - OPEN)) / (HIGH - LOW));
VAR73:=(VOL * (((OPEN - CLOSE) / (HIGH - LOW)) + (((2 / 3) * (HIGH - OPEN)) / (HIGH - LOW))));
VD7:=IF(VAR71,VAR72,0);
VZ7:=IF(VAR71,VAR73,0);
VAR81:=((((HIGH > LOW) AND (CLOSE < OPEN)) AND (HIGH > OPEN)) AND (LOW < CLOSE));
VAR82:=(VOL * ((((1 / 3) * (HIGH - OPEN)) / (HIGH - LOW)) + (((2 / 3) * (CLOSE - LOW)) / (HIGH - LOW))));
VAR83:=(VOL * ((((OPEN - CLOSE) / (HIGH - LOW)) + (((2 / 3) * (HIGH - OPEN)) / (HIGH - LOW))) + (((1 / 3) * (CLOSE - LOW)) / (HIGH - LOW))));
VD8:=IF(VAR81,VAR82,0);
VZ8:=IF(VAR81,VAR83,0);
VAR91:=((((HIGH > LOW) AND (CLOSE = OPEN)) AND (HIGH = CLOSE)) AND (LOW < CLOSE));
VAR92:=((VOL * 2) / 3);
VAR93:=((VOL * 1) / 3);
VD9:=IF(VAR91,VAR92,0);
VZ9:=IF(VAR91,VAR93,0);
VAR101:=((((HIGH > LOW) AND (CLOSE = OPEN)) AND (HIGH > CLOSE)) AND (LOW = CLOSE));
VAR102:=((((VOL * 1) / 3) * (HIGH - LOW)) / (HIGH - LOW));
VAR103:=((((VOL * 2) / 3) * (HIGH - LOW)) / (HIGH - LOW));
VD10:=IF(VAR101,VAR102,0);
VZ10:=IF(VAR101,VAR103,0);
VAR111:=((((HIGH > LOW) AND (CLOSE = OPEN)) AND (HIGH > CLOSE)) AND (LOW < CLOSE));
VAR112:=(VOL * ((((1 / 3) * (HIGH - CLOSE)) / (HIGH - LOW)) + (((2 / 3) * (CLOSE - LOW)) / (HIGH - LOW))));
VAR113:=(VOL * ((((2 / 3) * (HIGH - CLOSE)) / (HIGH - LOW)) + (((1 / 3) * (CLOSE - LOW)) / (HIGH - LOW))));
VD11:=IF(VAR111,VAR112,0);
VZ11:=IF(VAR111,VAR113,0);
VAR121:=(((((HIGH = LOW) AND (CLOSE = OPEN)) AND (HIGH = CLOSE)) AND (LOW = CLOSE)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100) > 9.75));
VD12:=IF(VAR121,VOL,0);
VAR122:=(((((HIGH = LOW) AND (CLOSE = OPEN)) AND (HIGH = CLOSE)) AND (LOW = CLOSE)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100) < (0 - 9.75)));
VZ12:=IF(VAR122,VOL,0);
VAR131:=((((((HIGH = LOW) AND (CLOSE = OPEN)) AND (HIGH = CLOSE)) AND (LOW = CLOSE)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100) < 9.75)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100) > (0 - 9.75)));
VD13:=IF(VAR131,(0.5 * VOL),0);
VAR132:=((((((HIGH = LOW) AND (CLOSE = OPEN)) AND (HIGH = CLOSE)) AND (LOW = CLOSE)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100) < 9.75)) AND ((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100) > (0 - 9.75)));
VZ13:=IF(VAR132,(0.5 * VOL),0);
VD:=((((((((((((VD1 + VD2) + VD3) + VD4) + VD5) + VD6) + VD7) + VD8) + VD9) + VD10) + VD11) + VD12) + VD13);
VZ:=((((((((((((VZ1 + VZ2) + VZ3) + VZ4) + VZ5) + VZ6) + VZ7) + VZ8) + VZ9) + VZ10) + VZ11) + VZ12) + VZ13);
VAR10:=VD;//真神
VAR20:=VZ;//魔鬼
//量神正文
量比:V/MA(V,5),PRECISION2,COLORYELLOW,LINETHICK0;
//快牛与动能
DZCJL:=SUM(V,100);
HS:=IF(CLOSE=INDEXC,VOL/DZCJL*100,VOL/CAPITAL*100);
SCL:=SMA((VAR10-VAR20)*HS/100,13,1),LINETHICK0;
LCL:=SMA(SCL,6,1);
动能:SCL,PRECISION0,colorff00ff,LINETHICK0;
涨停:=(c-ref(c,1))/ref(c,1)*100;
DNYC:=SCL/LCL>=2.2 and (SCL>100 or 涨停>9.6);
DRAWICON(SCL/LCL>=2.2 and (SCL>100 or 涨停>9.6),V,6),align0,align4;//快牛与动能信号
//--------------------------
JX1:=BARSSINCE(VAR10);
JY1:=IF(121>JX1 AND JX1>0,JX1,120);
JY2:=IF(4>JX1 AND JX1>0,JX1,3);
VAR30:=MA(V,JY2);
动神:VAR10,PRECISION0,COLORBE,LINETHICK0;
鬼力:VAR20,PRECISION0,Coloraaaa00,LINETHICK0;
神比:=动神/VAR30;
鬼比:=鬼力/VAR30;
VAR2:=HIGH-LOW;
VAR3:=ABS(OPEN-CLOSE);
VAR4:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
VAR5:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
VAR6:=VAR3/VAR2*VOL;
VAR7:=VAR4/VAR2*VOL;
VAR8:=VAR5/VAR2*VOL;
VAR9:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100))));
VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
VARB:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,30)>MA(CLOSE,60);
VARC:=MA(CLOSE,5)<MA(CLOSE,10) AND MA(CLOSE,10)<MA(CLOSE,30);
VAR40:=(IF(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,VAR6,动神)+动神)/2;
VAR41:=(IF(VAR7>VAR6 AND VAR7>VAR8,VAR7,动神)+动神)/2;
VAR42:=(IF(VAR8>VAR6 AND VAR8>VAR7,VAR8,动神)+动神)/2;
VAR50:=(IF(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,VAR6,鬼力)+鬼力)/2;
三上:MA((VAR40+VAR41+VAR42)/3,JY2),PRECISION0,LINETHICK0,color0000FF;//三日上攻
三下:MA(VAR50,JY2),PRECISION0,LINETHICK0,colorwhite;//三日下攻
十三量:MA(V,13),PRECISION0,colorcyan,LINETHICK0;
五五量:MA(V,55),PRECISION0,color00ffff,LINETHICK0;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,8,0),COLOR0055AA,LINETHICK2;{多头}
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,7,0),COLOR0066BB,LINETHICK2;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,6,0),COLOR0077CC,LINETHICK2;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,5,0),COLOR0088DD,LINETHICK2;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,4,0),COLOR0099EE,LINETHICK2;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,3,0),COLOR00AAFF,LINETHICK2;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,2,0),COLOR00BBFF,LINETHICK2;
STICKLINE(CLOSE>MA(CLOSE,30),0,VOL,1,0),COLOR00CCFF,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,8,0),COLOR777777,LINETHICK2;{空头}
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,7,0),COLOR888888,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,6,0),COLOR999999,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,5,0),COLORAAAAAA,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,4,0),COLORBBBBBB,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,3,0),COLORCCCCCC,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,2,0),COLORDDDDDD,LINETHICK2;
STICKLINE(CLOSE<MA(CLOSE,30),0,VOL,1,0),COLOREEEEEE,LINETHICK2;
STICKLINE(鬼力>0,鬼力,0,6,0),Color7B7b00,LINETHICK2;{下攻量鬼力}
STICKLINE(鬼力>0,鬼力,0,5,0),Color909000,LINETHICK2;
STICKLINE(鬼力>0,鬼力,0,4,0),COLORaaaa00,LINETHICK2;
STICKLINE(鬼力>0,鬼力,0,3,0),Colorbbbb00,LINETHICK2;
STICKLINE(鬼力>0,鬼力,0,2,0),COLORcccc00,LINETHICK2;
STICKLINE(鬼力>0,鬼力,0,1,0),COLORdddd00,LINETHICK2;
STICKLINE(鬼力>0,鬼力,0,0.4,0),COLOReeee00,LINETHICK2;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,0,VAR6,5,0),COLORFF22FF;{上攻量}
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,0,VAR6,4,0),COLORFF44FF;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,0,VAR6,3,0),COLORFF66FF;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,0,VAR6,2,0),COLORFF88FF;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN,0,VAR6,1,0),COLORFF99FF;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,4,0),COLOR105510,LINETHICK2;{下攻量}
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,3,0),COLOR106610,LINETHICK2;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,2.4,0),COLOR107710,LINETHICK2;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,1.6,0),COLOR108810,LINETHICK2;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,1,0),COLOR109910,LINETHICK2;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,0.6,0),COLOR10AA10,LINETHICK2;
STICKLINE(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN,0,VAR6,0,0),COLOR10BB10,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,4,0),COLOR1055FF,LINETHICK2;{上探量}
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,3,0),COLOR1066FF,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,2.6,0),COLOR1077FF,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,2,0),COLOR1088FF,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,1.4,0),COLOR1099FF,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,0.8,0),COLOR10AAFF,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,0.4,0),COLOR10BBFF,LINETHICK2;
STICKLINE(VAR7>VAR6 AND VAR7>VAR8,0,VAR7,0,0),COLOR10CCFF,LINETHICK2;
STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,4,0),COLORFF0000,LINETHICK2;{下探量}
STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,3,0),COLORFF2200,LINETHICK2;
STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,2,0),COLORFF4400,LINETHICK2;
STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,1.2,0),COLORFF6600,LINETHICK2;
STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,0.4,0),COLORFF8800,LINETHICK2;
STICKLINE(VAR8>VAR6 AND VAR8>VAR7,0,VAR8,0,0),COLORFFAA00,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,10,0),COLOR102070,LINETHICK2;{相对地量}
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,9,0),COLOR102080,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,8,0),COLOR102090,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,7,0),COLOR1020A0,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,6,0),COLOR1020B0,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,5,0),COLOR1020C0,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,3,0),COLOR1020D0,LINETHICK2;
STICKLINE(VAR9>2 AND VOL<MA(VOL,5)/2,0,VOL,1,0),COLOR1020E0,LINETHICK2;
地量: DRAWTEXT(VAR9>2 AND VOL<MA(VOL,5)/2,VOL*2,'地量'),ALIGN0,COLOR0000ff;
放量: STICKLINE(VOL>MA(VOL,5)*2.5,0,VOL,3,0) , COLORWHITE;
STICKLINE(动神>0,动神,0,1.8,0),COLORBE;{动神细红柱}
STICKLINE(动神>0,动神,0,1,0),COLOR0011FF;
STICKLINE(动神>0,动神,0,0.6,0),COLOR0033FF;
STICKLINE(动神>0,动神,0,0.2,0),COLOR0055FF;
STICKLINE(动神>0,动神,0,0,0),COLOR0011FF;
上攻均量:=MA(VAR10,jy1);
逢高出货: DRAWTEXT(VAR7>VAR6 AND VARA>2 AND VAR9>VAR8 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,30) AND HIGH>MA(CLOSE,60) AND VOL>MA(VOL,5) AND VAR7>=MA(VOL,5),VOL,'高出'),align0 , COLORGREEN;
逢低跟进: DRAWTEXT(VAR8>VAR6 AND VAR8>VAR7 AND VARA<-2 AND CLOSE<MA(CLOSE,30) AND VAR8<MA(VOL,5)/2 AND MA(VOL,5)<MA(VOL,10),VOL,'低进'),align0 , COLORMAGENTA;
强势参与: DRAWTEXT(VAR6>MA(VOL,5)*2 AND VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE>OPEN OR VOL>MA(VOL,5)*3 AND VARB,VOL*0.58,'☆'),align0, COLORCC99CC;
空头释放: DRAWTEXT(VAR6>=VAR7 AND VAR6>=VAR8 AND CLOSE<OPEN AND VAR6/VOL>0.7 AND VARC AND VAR6>MA(VOL,5),VOL,'空放') ,align0, COLORGREEN;
VAR21:=量比>1 AND 动神/三上>1.58 AND IF(三上>上攻均量,三上>三下,三上>REF(三上,1)) AND 三下<REF(三下,1) AND (C-REF(C,3))/REF(C,3)*100<14;
及时参与: DRAWTEXT(VAR21,VOL*0.58,'☆'),align0,COLOR00FFFF;
//异动资金------------
Varzj0:=(AMOUNT-(c+h+l+o)/4*v*100)/100;
Varzj1:=(c-(c+h+l+o)/4)*v*100/100;
穿透:=ema(1000000*(Varzj0+Varzj1)/2/AMOUNT,5);
穿透日:=穿透-ref(穿透,1);
条件1:=if((穿透>=80 or 穿透日>=90) and 穿透>ref(穿透,1) and 十三量>五五量,100,0);
DRAWICON(条件1>0,V,10),align0;
条件2:=if((穿透>=80 or 穿透日>=90) and 穿透>ref(穿透,1),90,0);
DRAWICON(条件2>0,V*2/3,12),align0;
条件3:=if((穿透日>穿透 and (穿透>60 or 穿透日>80)) and 穿透>ref(穿透,1),80,0);
DRAWICON(条件3>0,V/3,11),align0;
//-------------------
MA((VAR40+VAR41+VAR42)/3,JY2),PRECISION2,LINETHICK1,color0000FF;
MA(VAR50,JY2),PRECISION2,LINETHICK1,colorwhite;
p:=SYSPARAM(1);
u:=if(barpos<p+1,1,0);
partline(u ,u*十三量),COLORcyan;
partline(u ,u*五五量),COLOR00FFFF;
//-----------
VARN3{短线能量}:=CROSS(三上,三下);
VARN52:=SUM(VAR10,5)-SUM(VAR20,5);
VARN53:=VARN52>=REF(VARN52,1);
VARN531:=VARN52<REF(VARN52,1);
EXPLAINEX(VARN52>=0, '中线能量充足:',VARN52,0,0),COLORRED;
EXPLAINEX(VARN52<0 ,'中线能量弱:',VARN52,0,0),COLORBLUE;
EXPLAINEX(VARN53,'中线能量趋强:',VARN52,0,0),COLOR16C1FF;
EXPLAINEX(VARN531,'中线能量趋弱:',VARN52,0,0),COLORFFC800;
EXPLAIN(VAR10>REF(VAR10,1),'短能查量神,今日动神趋强'),Color00FF01;
EXPLAIN(VAR10<REF(VAR10,1),'短能查量神,今日动神趋弱'),ColorBBAFFD;
EXPLAIN(VARN3 AND 三上>REF(三上,1),'三日上攻金叉'),COLORRED;
EXPLAIN(VAR21>0,'☆及时参与'),COLOR00ffff;
EXPLAINEX(C>0 and DNYC=0,'攻击动能应达100.【今动能】:',动能,0,0),COLORFF00FF;
EXPLAINEX(DNYC>0,'【动能异常!!】:',动能,0,0),COLOR00FFFF;
EXPLAINEX(C>0 and 条件1=0,'资金穿透率:',穿透,2,0),COLORFFFFFF;
EXPLAINEX(条件1>0,'【异动资金穿透率!!!】:',穿透,2,0),COLOR0000FF;
EXPLAINEX(C>0 and 条件2=0,'资金日穿透率:',穿透日,2,0),COLORFFFF00;
EXPLAINEX(条件2>0,'【异动资金日穿透率!!】:',穿透日,2,0),COLOR00FFFF;
EXPLAIN(条件3>0,'【异动资金攻击警告!】'),COLOR10AA10;
//--------换手
换:=HS,PRECISION2,color0099ff,linethick0;//换手
EXPLAINEX(换<=1 ,'换手:地量',换,2,0),colorff00ff;
EXPLAINEX(换<=2 and 换>1 ,'换手低靡:',换,2,0),colorffffff;
EXPLAINEX(换<=3 and 换>2 ,'换手温和:',换,2,0),color0089ff;
EXPLAINEX(换<=5 and 换>3 ,'换手活跃:',换,2,0),color00ffff;
EXPLAINEX(换<=8 and 换>5 ,'换手带量:',换,2,0),color00ff00;
EXPLAINEX(换<=15 and 换>8 ,'换手放量:',换,2,0),color0000ff;
EXPLAINEX(换<=25 and 换>15 ,'换手巨量:',换,2,0),colorffff00;
//一个漂亮的成交量指标(原码)
量:=(EMA(IF(C>=REF(C,2),V,(-V)),60)/MA(V,60))*100;
量1:= EMA(量,3); 量2:= EMA(量,5); 量3:= EMA(量,8);
量A:=量,PRECISION2,COLORWHITE,LINETHICK0;
量B:=EMA(量,13),PRECISION2,COLORYELLOW,LINETHICK0;
T3:=EMA(量,21),COLORf00ff0;
T1:=量2>=量3 AND 量<REF(量,1);//强转弱:
T2:=量2<量3 AND 量>REF(量,1);//弱转强:
KKA1:=(量2>=量3);KKA2:=T1>0;KKA3:=IF(KKA1>0,1,0);KKA4:=IF(KKA2>0,11,0);KKA5:=KKA3+KKA4;
KKB1:=(量2<=量3);KKB2:=T2>0;KKB3:=IF(KKB1>0,1,0);KKB4:=IF(KKB2>0,11,0);KKB5:=KKB3+KKB4;
EXPLAINEX(KKA5=1,'短能评估结论-量强:',量1-量3,2,0),COLOR0044FF;
EXPLAINEX(KKA5=12,'短能评估结论-量强转弱:',量1-量3,2,0),COLORA0A0C0;
EXPLAINEX(KKB5=1,'短能评估结论-量弱:',量1-量3,2,0),COLORFF4400;
EXPLAINEX(KKB5=12,'短能评估结论-量弱转强:',量1-量3,2,0),COLOR338FDD;<!--++ plugin_code qcomic begin--><!--++ plugin_code qcomic end-->{选股公式}
VAR2:=HIGH-LOW;
VAR3:=ABS(OPEN-CLOSE);
VAR4:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);
VAR5:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;
VAR6:=VAR3/VAR2*VOL;
VAR7:=VAR4/VAR2*VOL;
VAR8:=VAR5/VAR2*VOL;
VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

VAR8>VAR6 AND VAR8>VAR7 AND VARA<-2 AND CLOSE<MA(CLOSE,30) AND VAR8<MA(VOL,5)/2 AND MA(VOL,5)<MA(VOL,10)<!--++ plugin_code qcomic begin--><!--++ plugin_code qcomic end-->

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容