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

筹码买卖主图指标公式公式、源码公式[其他软件公式]

相关标签:

 

筹码买卖主图a0:=BARSCOUNT(c);a3:=SYSPARAM(3);a2:=SYSPARAM(2);
a4:=SYSPARAM(4);a5:=SYSPARAM(5);
nn0:=a3-a2;nn:=a0-a2;hh1:=(a4-a5)/10;
y0:=a0>=a2;vv0:=if(y0=1 and SYSPARAM(1)>=a0,v,0);
c1:=if(BETWEEN(c,a4-0*hh1,a4-1*hh1),vv0,0);
c2:=if(BETWEEN(c,a4-1*hh1,a4-2*hh1),vv0,0);
c3:=if(BETWEEN(c,a4-2*hh1,a4-3*hh1),vv0,0);
c4:=if(BETWEEN(c,a4-3*hh1,a4-4*hh1),vv0,0);
c5:=if(BETWEEN(c,a4-4*hh1,a4-5*hh1),vv0,0);
c6:=if(BETWEEN(c,a4-5*hh1,a4-6*hh1),vv0,0);
c7:=if(BETWEEN(c,a4-6*hh1,a4-7*hh1),vv0,0);
c8:=if(BETWEEN(c,a4-7*hh1,a4-8*hh1),vv0,0);
c9:=if(BETWEEN(c,a4-8*hh1,a4-9*hh1),vv0,0);
c10:=if(BETWEEN(c,a4-9*hh1,a4-10*hh1),vv0,0);
v1:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c1,nn0),0),2));
v2:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c2,nn0),0),2));
v3:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c3,nn0),0),2));
v4:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c4,nn0),0),2));
v5:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c5,nn0),0),2));
v6:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c6,nn0),0),2));
v7:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c7,nn0),0),2));
v8:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c8,nn0),0),2));
v9:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c9,nn0),0),2));
v10:=STRTONUM(NUMTOSTR(if(ISLASTBAR,sum(c10,nn0),0),2));
av0:=max(v1,max(v2,max(v3,max(v4,max(v5,max(v6,max(v7,max(v8,max(v9,v10)))))))));
FILLRGN(v1/av0>=nn/nn0 and nn>=0,a4-0*hh1,a4-1*hh1+0.05),colormagenta;
FILLRGN(v2/av0>=nn/nn0 and nn>=0,a4-1*hh1,a4-2*hh1+0.05),colormagenta;
FILLRGN(v3/av0>=nn/nn0 and nn>=0,a4-2*hh1,a4-3*hh1+0.05),colormagenta;
FILLRGN(v4/av0>=nn/nn0 and nn>=0,a4-3*hh1,a4-4*hh1+0.05),colormagenta;
FILLRGN(v5/av0>=nn/nn0 and nn>=0,a4-4*hh1,a4-5*hh1+0.05),colormagenta;
FILLRGN(v6/av0>=nn/nn0 and nn>=0,a4-5*hh1,a4-6*hh1+0.05),colormagenta;
FILLRGN(v7/av0>=nn/nn0 and nn>=0,a4-6*hh1,a4-7*hh1+0.05),colormagenta;
FILLRGN(v8/av0>=nn/nn0 and nn>=0,a4-7*hh1,a4-8*hh1+0.05),colormagenta;
FILLRGN(v9/av0>=nn/nn0 and nn>=0,a4-8*hh1,a4-9*hh1+0.05),colormagenta;
FILLRGN(v10/av0>=nn/nn0 and nn>=0,a4-9*hh1,a4-10*hh1+0.05),colormagenta;



MA20:=MA(CLOSE,20);
MA120:=MA(CLOSE,120);
MA30:=MA(CLOSE,37);
MAP:=MA(CLOSE,8);
AA5:=MA(CLOSE,21);
AA10:MA(CLOSE,8),colorFF;
AA12:MA(CLOSE,12),colorFF;
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);
MA13:=MA(CLOSE,13);
CXH1:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
中期大底LV(LOW,30),colorCDFFBB;
短期底部:=LLV(HIGH,30);
短期底部:=LLV(HIGH,36);
短底:=EMA(CXH1,5);
支撑:=HHV(短底,60);
压力1:HHV(LOW,20),colorFAABEC;
压力:=SMA(LOW,5,1);
中线:=MA(CLOSE,3);
DRAWTEXT(FILTER(((((HIGH > 支撑) AND (CLOSE < 支撑)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'←逃'),colorFFFF;
中轨道:=(MA(HIGH,15) * 1.05);
天:=(MA(LOW,15) * 0.985);
人:=(MA(LOW,15) * 0.96);
地:=(((HIGH + LOW) + CLOSE) / 3);
B1:=HHV(地,(4 * 15));
B6:=LLV(地,(4 * 15));
B7:=(B1 - B6);
B8:=(MA(((地 - B6) / B7),2) * 80);
CXH1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200);
飞龙顶底线:=SMA(CXH1,3,1);
CXH2:=SMA(飞龙顶底线,3,1);
CXH3:=((3 * 飞龙顶底线) - (2 * CXH2));
CXH4:=LLV(LOW,5);
CXH5:=HHV(HIGH,5);
CXH6:=(EMA((((CLOSE - CXH4) / (CXH5 - CXH4)) * 100),4) * 2);
CXH7:=EMA(((0.667 * REF(CXH6,1)) + (0.333 * CXH6)),2);
CXH8:=((3 * CXH6) - (2 * CXH7));
CXH9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));
CXHA:=(POW(MA(LOW,5),2) + MA(LOW,5));
CXHB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));
CXHC:=(((((CXH9 - LLV(CXHA,64)) / (HHV(CXHB,64) - LLV(CXHA,64))) * 150) + 65) - 10);
CXHD:=((SMA(CXHC,3,1) * 1.5) - 100);
CXHE:=SMA(CXHD,3,1);
CXHF:=((3 * CXHD) - (2 * CXHE));
CXH10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);
CXH11:=EMA(CXH10,13);
CXH12:=STD(CXH10,13);
CXH13:=(((CXH10 - CXH11) * 100) / CXH12);
CXH14:=EMA(CXH13,5);
CXH15:=EMA(CXH14,13);
CXH16:=((EMA(CXH14,13) + 200) - 100);
CXH17:=EMA(CXH16,10);
CXH18:=((3 * CXH16) - (2 * CXH17));
CXH19:=(((飞龙顶底线 + CXH6) + CXHD) + CXH16);
CXH1A:=(((CXH2 + CXH7) + CXHE) + CXH17);
CXH1B:=(((CXH3 + CXH8) + CXHF) + CXH18);
CXH1C:=(((HIGH + LOW) + CLOSE) / 3);
CXH1D:=((AMOUNT / VOL) / 100);
CXH1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);
CXH1F:=((CXH1C - MA(CXH1C,34)) / (0.015 * AVEDEV(CXH1C,34)));
CXH20:=DMA(((AMOUNT / VOL) / 100),(VOL / CAPITAL));
CXH21:=((((HIGH + LOW) + CLOSE) + CXH1C) / 4);
CXH22:=EMA(CXH21,24);
CXH23:=STD(CXH21,24);
CXH24:=(((CXH21 - CXH22) / CXH23) * 100);
CXH25:=((CXH1C - MA(CXH1C,24)) / (0.015 * AVEDEV(CXH1C,24)));
CXH26:=EMA(CXH24,5);
CXH27:=((CXH1D - MA(CXH1D,21)) / (0.015 * AVEDEV(CXH1D,21)));
CXH28:=((CXH1E - MA(CXH1E,90)) / (0.015 * AVEDEV(CXH1E,90)));
CXH29:=(((((((CXH28 + CXH27) + CXH26) + CXH25) + CXH1F) / 5) + 165) / 4);
CXH2A:=(((((CXH19 + CXH1A) + (CXH1B * 30)) / 32) / 5) - 15);
CXH2B:=(((CXH29 + CXH2A) / 2) / 1.1);
CXH2C:=CXH2B;
短线:=MA(CXH2C,26);
MID:=(短线 + (2 * STD(CXH2C,26)));
UPPER:=(短线 - (2 * STD(CXH2C,26)));
LOWER:=IF((CXH2C > 短线),短线,CXH2C);
XY:=MA(CLOSE,5);
MA5:=MA(CLOSE,80);
短期底部LLV(HIGH,30) * 0.93),colorFF;
MA80:=LLV(HIGH,30);
短期底部2:=SMA(CLOSE,2,1);
趋势:=(MA(LOW,10) * 0.96);
趋:=(EMA(OPEN,107) * 0.897);
超跌位2:=MA(CLOSE,15);
GF:=MA(CLOSE,10);
MAN:=(SMA(HIGH,21,2) * 1.05);
上1:=(HHV(短底,60) * 0.92);
压力2:=(SMA(HIGH,21,2) * 1.035);
阻挡线:=(SMA(LOW,21,2) * 0.96);
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RSV:=SMA(下档线,3,1);
K:=SMA(RSV,3,1);
D:=((3 * RSV) - (2 * K));
J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
CXH2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
CXH3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
CXH4P:=(((J + (2 * CXH2P)) + (3 * CXH3P)) / 6);
CXH5P:=MA(CXH4P,3);
CXH6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);
RSV12:=SMA(CXH6P,3,1);
K12:=SMA(RSV12,3,1);
D12:=((3 * RSV12) - (2 * K12));
J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(J12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));
压力位:IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D)))),colorFFFFFF;
支撑位:=IF((CLOSE >= MA(CLOSE,20)),80,50);
U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
L2L:=IF(((D < 支撑位) AND (REF(D,1) >= 支撑位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),BARSLAST(((D < 支撑位) AND REF(D,1)))));
RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));
RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));
RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D < D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D < D24)))));
RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1)))));
RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));
RL4:

 

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

 

 

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

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

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

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

 


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

相关文章

    没有相关内容