左峰梯 荆州量学金融终端主图二

[复制链接]
查看13 | 回复0 | 2022-6-27 21:48:43 | 显示全部楼层 |阅读模式

 参数很多,导入公式后,能看到

DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);

 DA:=IF(CURRBARSCOUNT>DA1,0,DA1);

 HI:=REFDATE(HHV(H,DA),DATE);

 LO:=REFDATE(LLV(L,DA),DATE);

 C11:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);

 GZ:=EXP(LN(HI/LO)/10); 

 LH1:=SUM(IF(C11>=(HI/GZ),V,0),DA);

 LH2:=SUM(IF(C11>=(HI/POW(GZ,2)) AND C11<(HI/GZ),V,0),DA);

 LH3:=SUM(IF(C11>=(HI/POW(GZ,3)) AND C11<(HI/POW(GZ,2)),V,0),DA);

 LH4:=SUM(IF(C11>=(HI/POW(GZ,4)) AND C11<(HI/POW(GZ,3)),V,0),DA);

 LH5:=SUM(IF(C11>=(HI/POW(GZ,5)) AND C11<(HI/POW(GZ,4)),V,0),DA);

 LH6:=SUM(IF(C11>=(HI/POW(GZ,6)) AND C11<(HI/POW(GZ,5)),V,0),DA);

 LH7:=SUM(IF(C11>=(HI/POW(GZ,7)) AND C11<(HI/POW(GZ,6)),V,0),DA);

 LH8:=SUM(IF(C11>=(HI/POW(GZ,8)) AND C11<(HI/POW(GZ,7)),V,0),DA);

 LH9:=SUM(IF(C11>=(LO*GZ) AND C11<LO*POW(GZ,2),V,0),DA);

 LH10:=SUM(IF(C11>1=LO AND C11<LO*GZ,V,0),DA);

 L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;

 L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;

 L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;

 L4:=REFDATE(HHV(LH4,DA),DATE);

 L5:=REFDATE(HHV(LH5,DA),DATE);

 L6:=REFDATE(HHV(LH6,DA),DATE);

 L7:=REFDATE(HHV(LH7,DA),DATE);

 L8:=REFDATE(HHV(LH8,DA),DATE);

 L9:=REFDATE(HHV(LH9,DA),DATE);

 L10:=REFDATE(HHV(LH10,DA),DATE);

 SSS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);

 VAR121:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);

 VAR141:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);

 VAR161:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);

 VAR181:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);

卖:=(VAR121+VAR141+VAR161+VAR181),LINETHICK2;

 STICKLINE(CEILING(DA*L2/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L3/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L4/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L5/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L6/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L7/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L8/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L9/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR3C3C3A,LINETHICK3;

 STICKLINE(CEILING(DA*L10/SSS)*3>=CURRBARSCOUNT  AND BARSCOUNT(C)>100 AND 显示筹码=1,LO,LO*POW(GZ,1)*99/100,9,0)COLOR3C3C3A,LINETHICK3;

STICKLINE(CEILING(DA*L1/SSS)*3>=CURRBARSCOUNT AND BARSCOUNT(C)>100 AND 显示筹码=1,HI*99/100,HI/GZ,9,0)COLOR3C3C3A,LINETHICK3;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

LDM4:=CONST(HHV(REF(HIGH,1),240));

LDM5:=CONST(LLV(REF(LOW,1),240));

LDM6:=LDM4-LDM5;

LDM7:=LOW-LDM6*0.03;

LDM8:=HIGH+LDM6*0.03;

LDM9:=CLOSE>500;

LDM10:=MAX(CLOSE,OPEN);

LDM11:=MIN(CLOSE,OPEN);

LDM12:=0;

LDM13:=1;

LDM14:=IF(LDM9,HIGH,LDM10);

LDM15:=IF(LDM9,LOW,LDM11);

LDM16:=IF(CLOSE>OPEN,IF(LDM13=0,LOW,LDM15),IF(LDM13=0,HIGH,LDM14));

LDM17:=2/1000;

LDM18:=CURRBARSCOUNT;

LDM19:=400;

LDM20:=LDM18<=LDM19;

LDM21:=LOW;

LDM22:=IF(LDM12=0,LDM21,REF(LDM12,LDM12));

基准价:IF(LDM20,CONST(LDM22),DRAWNULL),DOTLINE,COLORRED;

LDM23:=基准价;

LDM24:=LDM23*LDM17;

LDM25:=ABS(LOW-LDM23)<=LDM24;

LDM26:=ABS(OPEN-LDM23)<=LDM24;

LDM27:=ABS(CLOSE-LDM23)<=LDM24;

LDM28:=ABS(HIGH-LDM23)<=LDM24;

LDM29:=LDM25 OR LDM26 OR LDM27 OR LDM28 AND LDM20 AND LDM18!=1;

LDM30:=COUNT(LDM29,LDM19);

精准点个数:IF(LDM30>0,LDM30+1,0),NODRAW,COLORRED;

{假阳真阴}

均价:=AMOUNT/VOL/100;

假阳:=C>O AND REF(C,1)>均价 AND C>均价  AND C<300 ;

STICKLINE(假阳,O,C,1,0)COLORLICYAN;

标志阴:=REF(C,1)/C>1.04;

STICKLINE(标志阴,O,C,1,0)COLORWHITE;

{假阴真阳}

假阴:=O>C   AND  均价>REF(C,1) AND C>MA(C,5);

STICKLINE(假阴,O,C,1,0),COLORRED;

倍量柱:=VOL>=REF(V,1)*1.9  AND C>O  ;

DRAWTEXT(倍量柱   ,L*0.97,'倍'),COLORWHITE;

缩倍:=REF(V,1)*0.55>=V  AND NOT(O=C AND H=O)  ;

DRAWTEXT(缩倍   ,L*0.98,'2S'),COLORMAGENTA;

{涨跌停价咯显示};

AA:=(C-REF(C,1))/REF(C,1)*100;

ZS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR  NAMELIKE('S')) AND AA>=4.945;

DS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR  NAMELIKE('S')) AND AA<=-4.945;

涨停价:IF(ZS,REF(C,1)*1.05,REF(C,1)*1.1),NODRAW,COLORRED;

跌停价:IF(DS,REF(C,1)*0.95,REF(C,1)*0.9),NODRAW,COLORGREEN;

{涨跌停K线标识};

ST:=NAMELIKE('ST')=1 OR NAMELIKE('*ST')=1 OR NAMELIKE('SST')=1 

                     OR NAMELIKE('S*ST')=1 OR NAMELIKE('S ST')=1;

涨停:=C=ZTPRICE(REF(CLOSE,1),0.1) OR (C/REF(C,1)>1.0495 AND ST);

跌停:=REF(C,1)/C>1.0995 OR (REF(C,1)/C>1.0495 AND ST);

STICKLINE(涨停,C,O,3,0),COLORMAGENTA;

STICKLINE(跌停,C,O,3,0),COLORGREEN;

DRAWICON(H=ZTPRICE(REF(CLOSE,1),0.1)  AND C!=H,L*0.965,15);

{峰顶谷底标识};

TY:=C;

A1:=REF(TY,10)=HHV(TY,2*10+1);

 B1:=FILTER(A1,10);

 C1:=BACKSET(B1,10+1); 

HD:=FILTER(C1,10);

A2:=REF(TY,10)=LLV(TY,2*10+1);

 B2:=FILTER(A2,10);

 C3:=BACKSET(B2,10+1);

 LD:=FILTER(C3,10);

前期低位:=REF(C,BARSLAST(LD));

前期高位:=REF(C,BARSLAST(HD));

STICKLINE(C,前期高位,前期高位,10,0),COLORWHITE,LINETHICK2;

STICKLINE(C,前期低位,前期低位,10,0),COLORRED,LINETHICK2;

STICKLINE(HD,C,O,1,0),COLORBROWN;

STICKLINE(HD,C,O,1,0),COLORBROWN;

STICKLINE(LD,C,O,1,0),COLORBLUE;

STICKLINE(LD,C,O,1,0),COLORBLUE;

STICKLINE(CROSS(C,前期高位)  AND NOT(H=L),O,C*0.98,3,0),COLORYELLOW;

DRAWICON(CROSS(C,前期高位)  AND NOT(H=L), C*0.99,23);

第一组:=REF(H-REF(L,1),1);

第二组:=REF(REF(H,1)-REF(L,2),1);

第三组:=REF(REF(H,2)-REF(L,3),1);

平均值:=(第一组+第二组+第三组)/3;

上线:=平均值+REF(L,1);

平均波动:=REF(((H-L)+(REF(H,1)-REF(L,1))+(REF(H,2)-REF(L,2)))/3,1);

下线:=上线-平均波动;

中线:=(上线+下线)/2;

D_2R3_ZQ1:=CURRBARSCOUNT<2;

D_2R3_ZQ2:=CURRBARSCOUNT<13;

D_2R3X1:=IF(D_2R3_ZQ1, 上线, DRAWNULL);

D_2R3X2:=IF(D_2R3_ZQ1, 中线, DRAWNULL)

p20187241844744618.jpg

p20187241844744618.jpg

20187241845316587.rar

14.48 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

20187241845316587.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则