把红牛抬头改成选股公式
2020/1/19 19:08:38
公式编写说明:
主力净买量:(LARGEINTRDVOL-LARGEOUTTRDVOL),NODRAW;{DRAWRECTABS(0,0,920,1,RGB(200,20,50)),COLOR2050CC};净额:=主力净买量/VOL*AMOUNT/10000;{流入净额:=净额1*1.25+净额2*1.5};能量:=净额/MA(V,5)*100,LINETHICK1;DRAWBAND(能量,RGB(240,240,0),-0.10,RGB(00,200,00))};NL:IF(能量>=1,1,能量);DRAWBAND(NL,RGB(200,0,0),0,RGB(0,200,0));买力:(净额)*0.5/V*100,LINETHICK1,COLOR555555;A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(A,4,1);D:=SMA(K,3,1);J:=(3*K-2*D);红牛:J/10,COLOR0000EE;拓虎:K/10,COLORAAAAAA;红牛抬头:REF(J,2)>REF(J,1) AND J>REF(J,1),LINETHICK0,COLOR0000FF;B:红牛抬头 AND 能量>0.8 AND (净额)>300 AND (J<40 OR (J<80 AND 能量>3))AND CAPITAL/100>6000 AND CAPITAL/100<45000,LINETHICK0;DRAWTEXT(B,0,'B');
公式源码回答:
主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL);
净额:=主力净买量/VOL*AMOUNT/10000;
能量:=净额/MA(V,5)*100;
A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(A,4,1);
D:=SMA(K,3,1);
J:=(3*K-2*D);
红牛抬头:=REF(J,2)>REF(J,1) AND J>REF(J,1);
红牛抬头 AND 能量>0.8 AND (净额)>300 AND (J<40 OR (J<80 AND 能量>3))AND CAPITAL/100>6000 AND CAPITAL/100<45000;
投 股票网 www.t ou18.cn
股市公式下载推荐