角度多空公式源码(cyqkl指标通达信源码)
1、多空指标线的计算公式
1.MID赋值=(3×收盘价+最低价+开盘价+最高价)÷6
2.多空线=(20×MID+19×昨日MID+18×2日前的MID+17×3日前的MID+16×4日前的MID+15×5日前的MID+14×6日前的MID+13×7日前的MID+12×8日前的MID+11×9日前的MID十10×10日前的MID+9×U日前的MID+8×12日前的MID+7×13日前的M1D+6×14日前的MID+5×15日前的MID+4×16日前的MID+3×17日前的MID+2×18日前的MID+20日前的MID)÷210
3.均线MADKX=DKX的M日简单移动平均
其中,参数M一般设置为l0。
2、哪里有下载好的多空对比指标的源码
股旁网-股票公式,股票指标公式网
http://.gupang./
同花顺|同花顺公式|同花顺公式教程|同花顺公式选股-同花顺公式网-YaoYuanBa.
http://.yaoyuanba./
公式指标网 最新最好股票指标公式网
http://.gszx../
3、通达信 dkx多空线指标源码?
打新多空闲的指标一样源码为。4768532。
4、请老师帮忙写一个BBI的显示角度公式通达信的,和一个BBI大于60度的选股公式,谢谢!~
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
角度:=ATAN((BBI/REF(BBI,1)-1)*100)*180/3.1416;
多空角度:C>O AND 角度>60;
若解决了问题请及时采纳,多谢!
5、通达信 区间震荡线 dpo指标源码?
什么症状?地皮o指标昂啊,这就是
6、指南针公式源码如何导入指标平台
飞狐,大智慧通用指南针指标公式(一共21个公式)原码
1,CYW主力控盘
VAR1:=CLOSE-LOW;
VAR2:=HIGH-LOW;
VAR3:=CLOSE-HIGH;
VAR4:=IF(CLOSE>=0,(VAR1/VAR2+VAR3/VAR2)*VOL,(VAR3/VAR2+VAR1/VAR2)*VOL);
SUM(VAR4,10)/10000, COLORSTICK;
2,CYW-YJJ主力控盘
VAR1:=1;
VAR2:=CLOSE-REF(CLOSE,1);
VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);
VAR4:=REF(CLOSE,1)-CLOSE;
VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);
VAR6:=SUM(VAR3,P1)/SUM(VAR5,P1);
VAR7:=100-100/(1+VAR6);
VAR8:=EMA(VAR7,P1);
VAR9:=EMA(VAR8,P2);
VARA:=EMA(VAR8,P3);
MO: (VAR8-VARA)*VAR1;
ML: (VAR9-VARA)*VAR1;
MODE: MO*VAR1, COLORSTICK;
p1:=0,100,6
p2:=0,100,8
p3:=0,100,45
3,CYS盈亏指标
Var1:=AMOUNT/(100*VOL);
Var2:=MA(Var1,N1);
Var3:=MA(Var1,N2);
Var4:=MA(Var1,N3);
Var5:=DMA(CLOSE,VOL/CAPITAL);
CYS5: 100*(CLOSE-Var2)/Var2;
CYS13: 100*(CLOSE-Var3)/Var3;
CYS34: 100*(CLOSE-Var4)/Var4;
CYS无穷: 100*(CLOSE-Var5)/Var5;
n1:=0,100,5
n2:=0,100,13
n3:=0,100,34
4,CYE市场趋势
MAL:=MA(CLOSE,5);
MAS:=MA(MA(CLOSE,20),5);
CYEL:MAL-REF(MAL,1)/REF(MAL,1)*100;
CYES:MAS-REF(MAS,1)/REF(MAS,1)*100;
5,CYR市场强弱
DIVE:=0.01*EMA(AMOUNT,N)/EMA(VOL,N);
CYR:=DIVE/REF(DIVE,1)-1*100;
MACYR:MA(CYR,M);
n:=0,100,13
m:=0,100,5
6,CYQKL博弈K线
100*(WINNER(CLOSE)-WINNER(OPEN)), COLORSTICK;
7,CYOBV优化累积能量
NOBV1: SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),N)/CAPITAL;
n:=0,100,34
8,CYF市场能量
HSL:=VOL/CAPITAL*100;
CYF:100-100/(1+EMA(HSL,N)*100);
n:=0,100,21
9,CYDD动态承接
Var1:=WINNER(CLOSE);
Var2:=DMA(Var1,VOL/CAPITAL);
Var3:=DMA(VOL,VOL/CAPITAL)/CAPITAL;
CYDD: Var1/Var3;
CYDD1: Var2/Var3;
1, POINTDOT;
10,CYD2承接因子
A:=WINNER(CLOSE )*CAPITAL;
承接因子:A/VOL;
11,CYD承接因子
CYDS:WINNER(CLOSE)/(VOL/CAPITAL);
CYDN:WINNER(CLOSE)/MA(VOL/CAPITAL,N);
n:=0,100,21
12,CYC2成本均线
CYC1:0.01*EMA(AMOUNT,n1)/EMA(VOL,n1);
CYC2:0.01*EMA(AMOUNT,n2)/EMA(VOL,n2);
CYC3:0.01*EMA(AMOUNT,n3)/EMA(VOL,n3);
CYC∞:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7)));
n1:=0,100,5
n2:=0,100,13
n3:=0,100,34
13,CYC1成本均线
Var1:=AMOUNT/(100*VOL);
短线成本均线: MA(Var1,N1);
中线成本均线: MA(Var1,N2);
长线成本均线: MA(Var1,N3);
无穷成本均线: DMA(CLOSE,VOL/CAPITAL);
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLOR;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,lo,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,lo,0.5 ,0 ),COLOR;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLOR;
n1:=0,100,5
n2:=0,100,13
n3:=0,100,34
14,CYB优化布林线
MB: MA(CLOSE,N);
上轨: MB+STD(CLOSE,N);
下轨: MB-STD(CLOSE,N);
上极限: MB+2*STD(CLOSE,N);
下极限: MB-2*STD(CLOSE,N);
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLOR;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,lo,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,lo,0.5 ,0 ),COLOR;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLOR;
n:=0,100,13
15,CMACD指标
Var1:=AMOUNT/(100*VOL);
Var2:=MA(Var1,N1);
Var3:=MA(Var1,N2);
CMACD: 100*(Var2-Var3)/Var3, COLORSTICK;
n1:=0,100,5
n2:=0,100,13
16,CBXQD成本均线
Var1:=AMOUNT/(100*VOL);
Var2:=MA(Var1,N1);
Var3:=MA(Var1,N2);
Var4:=MA(Var1,N3);
Var5:=DMA(CLOSE,VOL/CAPITAL);
CYR5: 100*(Var2-REF(Var2,N))/REF(Var2,N);
CYR13: 100*(Var3-REF(Var3,N))/REF(Var3,N);
CYR34: 100*(Var4-REF(Var4,N))/REF(Var4,N);
CYR无穷: 100*(Var5-REF(Var5,N))/REF(Var5,1);
n:=0,100,4
n1:=0,100,5
n2:=0,100,13
n3:=0,100,34
17,CBW成本带宽
CBW: 100*(COST(N1)-COST(N2))/COST(N1);
n1:=0,100,98
n2:=0,100,2
18,CBAND布林线宽
Var1:=MA(CLOSE,N);
Var2:=Var1+2*STD(CLOSE,N);
变盘: 5, POINTDOT;
布林宽度: (Var2-Var1)/Var1*100;
警戒: 30, POINTDOT;
n;=5,100,30
20,指南针CYE
顶部: 4,COLORBLUE;
强势: 1,COLORRED;
弱势: -1,colorf00ff0;
底部: -4,COLORWHITE;
短期趋势: (MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*100,COLORWHITE,LINETHICK2;
中期趋势: (MA(MA(CLOSE,13),5)-REF(MA(MA(CLOSE,13),5),1))/REF(MA(MA(CLOSE,13),5),1)*100,colorf00ff0,LINETHICK2;
长期趋势: (MA(MA(CLOSE,34),5)-REF(MA(MA(CLOSE,34),5),1))/REF(MA(MA(CLOSE,34),5),1)*100,COLORRED,LINETHICK2;
21,0ama
Var1:=SMA("AMOUNT",10,1)/10000000;
Var2:=REF(Var1,1);
AA: STICKLINE(Var1>Var2,Var1,Var2,8,1),COLORRED;
AD: STICKLINE(Var1<Var2,Var1,Var2,8,0),COLORGREEN;
C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL);
C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL);
C34: DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL);
7、{分时写入五日K线} 通达信指标公式源码
内容来自用户:育龙投资
{分时写入五日K线}{幅图---名字写分时引用}O1:REF(O,1);C1:REF(C,1);H1:REF(H,1);L1:REF(L,1);O2:REF(O,2);C2:REF(C,2);H2:REF(H,2);L2:REF(L,2);O3:REF(O,3);C3:REF(C,3);H3:REF(H,3);L3:REF(L,3);O4:REF(O,4);C4:REF(C,4);H4:REF(H,4);L4:REF(L,4);O5:REF(O,5);C5:REF(C,5);H5:REF(H,5);L5:REF(L,5);O6:REF(O,6);C6:REF(C,6);H6:REF(H,6);L6:REF(L,6);{放到分时主图代码最前面}O5:="分时引用.O5#DAY";C5:="分时引用.C5#DAY";H5:="分时引用.H5#DAY";L5:="分时引用.L5#DAY";O4:="分时引用.O4#DAY";C4:="分时引用.C4#DAY";H4:="分时引用.H4#DAY";L4:="分时引用.L4#DAY";O3:="分时引用.O3#DAY";C3:="分时引用.C3#DAY";H3:="分时引用.H3#DAY";L3:="分时引用.L3#DAY";O2:="分时引用.O2#DAY";C2:="分时引用.C2#DAY";H2:="分时引用.H2#DAY";L2:="分时引用.L2#DAY";O1:="分时引用.O1#DAY";C1:="分时引用.C1#DAY";H1:="分时引用.H1#DAY";L1:="分时引用.L1#DAY";O0:=DYNAINFO(4);C0:=DYNAINFO(7);H0:=DYNAINFO(5);L0:=DYNAINFO(6);
HH1:=MAX(H1,H2);HH2:=MAX(H3,H4);HH3:=MAX(MAX(H0,H5),MAX(HH1,HH2));LL1:=MIN(L1,L2);LL2:=MIN(L3,L4);LL3:=MIN(MIN(L0,L5),MIN(LL1,LL2));HL:=999/(HH3-LL3);
C52:=999-((C5-LL3)*HL);H52:=999-((H5-LL3)*HL);L52:=999-((L5-LL3)*HL);O52:=999-((O5-LL3)*HL);C42:=999-((C4-LL3)*HL);H42:=999-((H4-LL3)*HL);L42:=999-((L4-LL3)*HL);O42:=999-((O4-LL3)*HL