黄金双线 荆州量学金融终端主图三

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

 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);
 
 
T1:=CONST(HHVBARS(V,30));
阻力:=IF(CURRBARSCOUNT<=30+7,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL); 
遇阻:IF(CURRBARSCOUNT=T1+1,阻力,DRAWNULL),CROSSDOT;
 
AB:DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LOW,5),HHV(HIGH,5),1),COLORWHITE,LINETHICK2;
买:=CROSS(C,AB)  AND C/AB>1.01  ;
DRAWICON(买,L*0.99,1);
 
 
上榜:=SIGNALS_USER(300, 0), NODRAW; {上榜金額>1,则表示上榜了,这个是上榜总金額} 
净买入:=SIGNALS_USER(299, 0), NODRAW; 
DRAWICON(上榜>=1 AND 净买入>=0   AND 显示龙虎标志=1,L*0.995,38); 
DRAWICON(上榜>=1 AND 净买入<0   AND 显示龙虎标志=1,L*0.995,39); 
NAME_299 := '↖龙';
OUTTEXT_299:=VARCAT(VARCAT(NAME_299, ' '), VAR2STR(净买入, 0)), NODRAW;
DRAWTEXT((上榜>=1)  AND 显示龙虎=1,-LOW*0.01+LOW,OUTTEXT_299),COLORLIRED;
 
 
 
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,COLORYELLOW;
 
 
{假阳真阴}
均价:=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;
 
缩倍:=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;
 
DRAWICON(H=ZTPRICE(REF(CLOSE,1),0.1)  AND C!=H,L*0.965,15);
 
 
{黄金顶线标识}
比系数:=1.3;
金线:=1;
临界点:=0;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);
RV1:=REF(V,1);
RV2:=REF(V,2);
RV3:=REF(V,3);
RC1:=REF(C,1);
RC2:=REF(C,2);

20187241874782027.rar

14.29 KB, 下载次数: 0

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

20187241874782027.rar

回复

使用道具 举报

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

本版积分规则