请教高手:帮忙把指标源码改成选股公式源码 选主力资金加仓
{公式中没有主力资金加仓的提示,是不是想在主力资金线上拐是显示呢?帮你加了一个显示}
MAV:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
SK:=EMA((MAV-VAR1)/(VAR2-VAR1)*100,13);
主力资金:EMA(0.667*REF(SK,1)+0.333*SK,2),COLOR00FFFF;
AA:REF(主力资金,2)REF(主力资金,1) AND 主力资金REF(主力资金,1),LINETHICK0;
DRAWTEXT(AA,主力资金,'加仓');
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
==================================
{选股}
MAV:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
SK:=EMA((MAV-VAR1)/(VAR2-VAR1)*100,13);
主力资金:=EMA(0.667*REF(SK,1)+0.333*SK,2);
REF(主力资金,2)REF(主力资金,1) AND 主力资金REF(主力资金,1);
通达信短线主力资金指标公式 和 精装版的主力先锋指标公式 求源代码!谢谢!! 邮箱 : 22932354@QQ.COM
N:=7;
M:=5;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
B:=SMA(VAR1,N,1);
VAR2:=SMA(B,M,1);
STICKLINE(BVAR2,B,VAR2,0.8,1),COLORRED;
STICKLINE(BVAR2,B,VAR2,0.8,0),COLORGREEN;
MAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
短高: 90,COLORGREEN;
高抛: 80,DOTLINE,COLORYELLOW;
MAR2:=LLV(LOW,34);
MAR3:=HHV(HIGH,34);
SK:=EMA((MAR1-MAR2)/(MAR3-MAR2)*100,13);
SD:=EMA(SK,3);
STICKLINE(SKSD,SK,SD,0.8,0),COLORCYAN;
STICKLINE(SKSD,SK,SD,0.8,1),COLORMAGENTA;
低吸: 20,DOTLINE,COLORYELLOW;
短底: 10,COLORRED;
中值:B,NODRAW;
短值:SK,NODRAW,COLORMAGENTA;
STICKLINE(SK=90 OR B=90,96,101,4,1),COLORYELLOW;
STICKLINE(B=90 AND SK=90,96,101,4,0),COLORYELLOW;
STICKLINE(SK=10 OR B=10,-1,4,4,1),COLORBLUE;
STICKLINE(B=10 AND SK=10,-1,4,4,0),COLORBLUE;
STICKLINE((SK=10 OR B=10) AND BREF(B,1) AND SKREF(SK,1),-1,4,4,1),COLOR7F00FF;
STICKLINE(B=10 AND SK=10 AND BREF(B,1) AND SKREF(SK,1),-1,4,4,0),COLOR7F00FF;
STICKLINE((SK=90 OR B=90) AND BREF(B,1) AND SKREF(SK,1),96,101,4,1),COLORWHITE;
STICKLINE(B=90 AND SK=90 AND BREF(B,1) AND SKREF(SK,1),96,101,4,0),COLORWHITE;
总额:AMOUNT/100000000,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差:(流入亿+流出亿),NODRAW;
强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
主力:=EMA(差,1),COLORFF00FF,LINETHICK5;
差A:3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW;
净流:3*EMA(EMA(EMA(EMA(差A,1),2),2),2), COLORRED,NODRAW;
STICKLINE(净流0,0,净流,4,0),COLORFF6600;
STICKLINE(净流0,0,净流,3,0),COLORFF9900;
STICKLINE(净流0,0,净流,1.5,0),COLORFFCC00;
STICKLINE(净流0,0,净流,0.5,0),COLORCYAN;
STICKLINE(净流0,0,净流,4,0),COLOR000099;
STICKLINE(净流0,0,净流,3,0),COLOR0000CC;
STICKLINE(净流0,0,净流,1.5,0),COLOR0000FF;
STICKLINE(净流0,0,净流,0.5,0),COLORCC66FF;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,4,0),COLOR009999;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,3,0),COLOR00BBBB;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,2,0),COLOR00DDDD;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,1,0),COLOR00FFFF;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,4,0),COLOR000099;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,3,0),COLOR0000BB;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,1.5,0),COLOR0000DD;
STICKLINE(净流REF(净流,1)AND 净流0,0,净流,0.5,0),COLOR0000FF;
DRAWTEXT(CROSS(0,净流),0+0,'空'),COLORRED;
DRAWTEXT(CROSS(REF(净流,1),净流),净流-0,'注意'),COLORMAGENTA;
DRAWTEXT(CROSS(净流,0),0,'关注 资金介入'),COLORWHITE;
DRAWTEXT(CROSS(净流,0),0,'买'),COLORFF00FF;
主力识别指标源码是什么
主力识别指标源码是:.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;J1:=REVERSE(J);AA:=REF(MA(C,1),10)REF(MA(C,60),10);买点:CROSS(J,J1)AA;STICKLINE(买点,0,30,6,0),COLORBLUE;STICKLINE(买点,30,60,4,0),COLORWHITE;STICKLINE(买点,60,80,2,0),COLORYELLOW;DRAWTEXT(买点,70,´敌军潜入´),COLORRED;{主力进出场}VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW=VAR4,VAR3,0),3);主力进场:IF(VAR5REF(VAR5,1),VAR5,0),COLORRED,NODRAW;STICKLINE(VAR5REF(VAR5,1),0,VAR5,3,0),COLORRED;STICKLINE(VAR5REF(VAR5,1),0,VAR5,3,0),COLOR000055;STICKLINE(VAR5REF(VAR5,1),0,VAR5,2.6,0),COLOR000077;STICKLINE(VAR5REF(VAR5,1),0,VAR5,2.1,0),COLOR000099;STICKLINE(VAR5REF(VAR5,1),0,VAR5,1.5,0),COLOR0000BB;STICKLINE(VAR5REF(VAR5,1),0,VAR5,0.9,0),COLOR0000DD;STICKLINE(VAR5REF(VAR5,1),0,VAR5,0.3,0),COLOR0000FF;洗盘:IF(VAR5REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;STICKLINE(VAR5REF(VAR5,1),0,VAR5,3,0),COLORGREEN;STICKLINE(VAR5REF(VAR5,1),0,VAR5,3,0),COLOR005500;STICKLINE(VAR5REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;STICKLINE(VAR5REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;STICKLINE(VAR5REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;STICKLINE(VAR5REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;STICKLINE(VAR5REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);VAR13:=EMA(VAR12,10);VAR14:=HHV(H,33);VAR15:=EMA(IF(H=VAR14,VAR13,0),3);冲顶:IF(VAR15REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW;STICKLINE(VAR15REF(VAR15,1),0,VAR15,3,0),COLORFF00FF;STICKLINE(VAR15REF(VAR15,1),0,VAR15,3,0),COLOR550055;STICKLINE(VAR15REF(VAR15,1),0,VAR15,2.6,0),COLOR770077;STICKLINE(VAR15REF(VAR15,1),0,VAR15,2.1
大智慧主力资金公式源代码
ABV,主力进出指标公式源码:
ABV:MA(SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(CLOSE,1),-VOL,0)),0)/25000,2);
M1:EMA(ABV,N1);
M2:EMA(ABV,N2);
参数 最小 最大 缺省 步长
N1 1 200 12 1
N2 1 200 26 1
谁能提供主力资金量线和散户资金量线的股票指标源码,下面上图补充
我上网找了找和你一样的没有找到,不过我想提醒下你看你的截图左下角写着 可能用到未来数据 供参考 ,一些特别准的指标里面大多含有未来函数,信号会漂移不定的,从你那个资金线来看里面应该没有未来函数,指标只能反映现状不能预测未来,不要过于依靠指标
请高手把通达信的这条主力资金(开始控盘、控盘、主力出货、主力吸货)指标公式源码改为可以在同花顺上使
VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);
VAR6:=MA(VAR5,3);
开始控盘:=STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;
STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;
STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;
STICKLINE((VAR6 = (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;
VAR1:=EMA(EMA(CLOSE,3),1);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘0,控盘,0,3.5,0),COLORFFAA00;
STICKLINE(控盘0,控盘,0,3.5,2,0,),COLORFF4400;
STICKLINE(控盘0,控盘,0,2.5,0),COLORFF8800;
STICKLINE(控盘0,控盘,0,0,0),COLORFFAA00;
主力出货:0,COLORFFAA00;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,3.5,0),COLOR000088;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,2.5,0),COLOR0000AA;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1.5,0),COLOR0000CC;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1,0),COLOR0000EE;
主力吸货:0,COLOR0000FF;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,3.5,0),COLOR008800;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,2.5,0),COLOR00AA00;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1.5,0),COLOR00CC00;
STICKLINE(控盘REF(控盘,3) AND 控盘0,控盘,0,1,0),COLOR00EE00;
对倒出货洗盘:0,COLOR00FF00;
黄色底部吸货:0,coloryellow;
DRAWTEXT(CROSS(控盘,0),0-3,'买。追'),COLORFF00FF;
DRAWTEXT(CROSS(0,控盘),0-0,'卖'),colorgreen;
{去除了收费专用函数和未来函数部分}
上述文章就是科灵网介绍的主力资金监控指标源码和主力资金监控指标源码带买卖点提示的详细回答,希望能够帮助到大家;如果你还想了解更多财经资讯知识,记得收藏关注我们。
标签: 主力资金监控指标源码