股票bdwd指标公式源码(股票指标公式源码大全)
本文目录一览:
股票指标源码?
别名: 彩色棒状线
所属类别: 线型描述 参数数量: 0
以零轴为中心画彩色棒状线,零轴下为阴线颜色,零轴上为阳线颜色
例如: CLOSE-OPEN,COLORSTICK;
别名: 分笔数量
所属类别: 行情函数 参数数量: 0
取得该周期成交分笔。
用法:
QT
柱状的 每笔 源码 : (VOL,VOLSTICK;这个是成量的柱形,把vol换成 qt就行)
qt,COLORSTICK;//这个macd的柱形
以上是飞狐的,其他 软件也差不多,最多是函数名称 不同而以
股票指标公式改为选股公式,源码如下:
N:=30;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
主力线:=EMA(J,6);
走势:=CEILING(SMA(AA5,13,8));
XG:CROSS(走势,主力线) AND 主力线80;
寻庄出击(无未来)股票指标-股票公式源码如下:
股神就是以AA为通道下轨 BB为上轨 这个通道叫DD 股票bdwd指标公式源码,是当前股价在这个通道中的相对位置;
股海股票bdwd指标公式源码:用DD再做一个通道股票bdwd指标公式源码,当前的DD在这个通道中的位置;
通达信指标公式源码很实用的抄底逃顶指标
通达信指标公式源码很实用的抄底逃顶指标
在底部出现买入信号,在高点出现卖出信号
求股票公式高手帮忙整合股票指标公式
强烈要求+分!!!
重新修改了一下,把蛮准的红色信号修改成了用白色方块覆盖K线的形式显示出来了,还是直接复制下面的内容:
{第一个}
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3=(10-0.01*100/C3),2,0);
STICKLINE(涨停,OPEN,CLOSE,5,0),COLORRED;
跌停:=IF((C3-C)*100/C3=(10-0.01*100/C3),2,0);
STICKLINE(跌停,OPEN,CLOSE,5,0),COLORGREEN;
{第二个}
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
蛮准:=CROSS(RSI,11)*80;
STICKLINE(蛮准,OPEN,CLOSE,5,0),colorwhite;
{第三个}
M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M20:MA(CLOSE,20);
M60:MA(CLOSE,60);
BB:=REF(INDEXC,1)REF(INDEXC,2) AND REF(C,2)*0.95=REF(C,1) AND REF(O,1)/REF(C,1)=1.05
AND REF(C,1)REF(O,1) AND CO AND C/O=1.05 AND CREF(O,1)
AND REF(VOL,1)REF(VOL,2);
STICKLINE(BB,O,C,4,0),COLORRED;
STICKLINE(BB,O,H,0,0),COLORRED;
STICKLINE(BB,L,C,0,0),COLORRED;
DRAWTEXT(BB,L*0.98,'追!'),COLORYELLOW;
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
CC:=CROSS(VAR1,VAR2);
DRAWTEXT(CC,L*0.98,'买!'),COLOR0099FF;
TYP:=(H+L+C)/3;
TYP1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))=20 AND REF(MA(C,21),1)MA(C,21);
TJ1:=OMAX(REF(C,1),REF(O,1));
TJ2:=REF(C,1)=MA(C,21) AND L/MA(C,21)=1.015 AND MA(C,144)MA(C,250) AND VMA(V,10) AND MIN(REF(V,2),REF(V,1))V;
TJ3:=REF(MA(C,250),90)REF(MA(C,144),90) AND MA(C,144)MA(C,250) AND OMA(C,250);
TJ4:=MAX(REF(H,10)AND REF(H,9)AND REF(H,8)AND REF(H,7), REF(H,6));
TOUJI:=TYP1 AND TJ1 AND TJ2 AND REF(C,2)/REF(O,2)1.06 AND C/O=1.05 AND HHV(H,5)/LLV(L,30)=1.65 AND REF(H,5)/REF(L,1)=1.15 AND REF(C,1)/REF(O,1)=0.995 AND (LREF(L,2) OR (REF(H,2)-REF(L,2))/(H-L)=2) AND O/REF(L,1)=1.04
OR TYP1 AND TJ1 AND O/REF(L,1)1.05 AND REF(L,1)/REF(O,4)=0.85 AND REF(C,1)/REF(O,1)=1.03 AND OREF(C,1) AND HHV(H,5)/LLV(L,35)1.35 AND VMA(V,10);
TOUJI2:=TYP1 AND TJ1 AND TJ2 AND O/REF(L,1)1.05 AND O/LLV(L,3)1.1 AND REF(C,1)/REF(0,1)=1.05 AND HHV(H,4)/LLV(L,16)=1.35 AND REF(O,4)/REF(C,2)=1.08 AND REF(C,2)/REF(O,2)=0.995 AND (REF(L,2)REF(L,3) OR (REF(H,3)-REF(L,3))/(REF(H,1)-REF(L,1))=2) AND LMIN(REF(C,1),REF(O,1))
OR TYP1 AND TJ1 AND HHV(H,10)/LLV(L,25)=1.3 AND REF(C,5)REF(H,5) AND REF(C,4)REF(C,5) AND REF(C,3)REF(C,4) AND REF(C,2)REF(C,3) AND REF(C,1)REF(C,2) AND LREF(L,1) AND M5/O1.1;DATOUJI:=TYP1 AND TJ3 AND OREF(C,5) AND O=REF(C,1) AND REF(H,10)/O=1.17 AND HHV(H,10)/LLV(L,30)1.4 AND (MA(V,10)/HHV(V,10)0.5 AND V/HHV(V,10)0.2 AND V/HHV(V,10)0.4 OR REF(V,3)REF(V,2) AND REF(V,2)REF(V,1)) AND REF(C,1)/REF(C,2)=1.02;
DATOUJI1:=TYP1 AND TJ3 AND OREF(L,6) AND OMIN(REF(C,5)AND REF(O,5),5) ;
DRAWTEXT(CROSS(MA(VOL,10),MA(VOL,20)) AND MA(VOL,5)MA(VOL,10) AND LMA(C,20) AND C=MA(C,20),L*0.98,'量托'),COLORWHITE;
卖出:=CROSS(90,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);
DRAWTEXT(卖出,H*1.05,'短卖'),COLORGREEN;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W20,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破盘整:=W4 AND COUNT(W4,5)=1;
DRAWICON(突破盘整,L-0.10,1);
{到此结束}
---------------------------------------------------------------------------------
三个指标,主要是第一个和第三指标的源码里有几条都是重复的,所以我删了一部分,但绝对不影响修改之前的效果,这点可以放心。
飞鹰猎庄这个指标,里面有一句本身就不能在软件里显示:
DRAWTEXT(TOUJI OR TOUJI2 OR DATOUJI OR DATOUJI1,L*0.98,'△'),COLORYELLOW;
我发现这句在L2软件里也不会显示,所以干脆删除。
呼,这个还是比较复杂的........反正弄好了,你看看能不能用???