在线检测未来函数

通达信战略家筹码指标公式

来源:Internet,编辑:股旁网,2023-12-28

DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;
VA1X:=IF(LLV(LOW,5)<=CLOSE,LLV(LOW,5),CLOSE);
VA2X:=IF(LLV(LOW,10)<=VA1X,LLV(LOW,10),VA1X);
VA3X:=IF(LLV(LOW,20)<=VA2X,LLV(LOW,20),VA2X);
VA4X:=IF(LLV(LOW,30)<=VA3X,LLV(LOW,30),VA3X);
VA5X:=IF(LLV(LOW,40)<=VA4X,LLV(LOW,40),VA4X);
VA6X:=IF(LLV(LOW,50)<=VA5X,LLV(LOW,50),VA5X);
VA7X:=IF(LLV(LOW,60)<=VA6X,LLV(LOW,60),VA6X);
VA8X:=IF(LLV(LOW,100)<=VA7X,LLV(LOW,100),VA7X);
VA9X:=IF(LLV(LOW,150)<=VA8X,LLV(LOW,150),VA8X);
VAAX:=SUM(MA(CLOSE/VA9X,1)-1.1,5);
多方筹码:VAAX,COLORSTICK;
{crOSS(VAAX,0)*2,STICK,LINETHICK3,COLORYELLOW;
DRAWICON(CROSS(VAAX,0),2.2,42);}
CM:=IF(多方筹码>0,MA(多方筹码,2),DRAWNULL);
JX:=MA(CLOSE,10);
STICKLINE(5,多方筹码,0,1,0),COLOR00FFFF;
STICKLINE(多方筹码>REF(多方筹码,1) AND 多方筹码>CM AND JX>REF(JX,1) AND CLOSE>MA(CLOSE,5),0,多方筹码,1,0),COLOR0000FF;
STICKLINE(多方筹码<=REF(多方筹码,1) AND 多方筹码<=CM AND JX<=REF(JX,1),多方筹码,0,1,0),COLOR00FF00;
STICKLINE(多方筹码<0,0,0.3,1,0),COLORFF00FF;
{STICKLINE(CLOSE<MA(CLOSE,34),多方筹码,0,1,0),COLORFFFF00;}
AX1:=IF(HHV(HIGH,5)>=CLOSE,HHV(HIGH,5),CLOSE);
AX2:=IF(HHV(HIGH,10)>=AX1,HHV(HIGH,10),AX1);
AX3:=IF(HHV(HIGH,20)>=AX2,HHV(HIGH,20),AX2);
AX4:=IF(HHV(HIGH,30)>=AX3,HHV(HIGH,30),AX3);
AX5:=IF(HHV(HIGH,40)>=AX4,HHV(HIGH,40),AX4);
AX6:=IF(HHV(HIGH,50)>=AX5,HHV(HIGH,50),AX5);
AX7:=IF(HHV(HIGH,60)>=AX6,HHV(HIGH,60),AX6);
AX8:=IF(HHV(HIGH,100)>=AX7,HHV(HIGH,100),AX7);
AX9:=IF(HHV(HIGH,150)>=AX8,HHV(HIGH,150),AX8);
AAX:=SUM(MA(CLOSE/AX9,1)-1.1,5);
空方筹码:AAX,COLORSTICK;
{CROSS(0,AAX),STICK,LINETHICK3,COLORRED;
RAWICON(CROSS(AAX,0),1,1.5 );};
STICKLINE(空方筹码<0,空方筹码,0,1,-1),COLORFFFF00;
CPX:=10;
WX20:=COST(20);
WX80:=COST(80);
W5:=COST(5);
WX90:=COST(90);
筹码峰宽度1:=WX80-WX20;
筹码峰宽度2:=WX90-W5 ;
筹码密集度:=(筹码峰宽度2)/W5 ;
筹码密集:=(筹码峰宽度1/WX20<0.20) AND (筹码峰宽度2/W5<0.28);
股价突破:=CLOSE/REF(C,1)>1.030 AND vol>REF(VOL,1)
AND WINNER(CLOSE)>0.80 AND CPX>0;
筹码峰突破:=(筹码密集 OR REF(筹码密集,1)) AND 股价突破 AND CLOSE/REF(WX80,2)<1.10;
IF(筹码峰突破 AND FILTER(筹码峰突破=1,15),1.2,0),LINETHICK2,COLOR0099FF;
W00:=COST(1);
W10:=COST(10);
W20:=COST(20);
W30:=COST(30);
W40:=COST(40);
W50:=COST(50);
W60:=COST(60);
W70:=COST(70);
W80:=COST(80);
W90:=COST(90);
W100:=COST(99);
wr00:=REF(W00,1);
WR10:=REF(W10,1);
WR20:=REF(W20,1);
WR30:=REF(W30,1);
WR40:=REF(W40,1);
WR50:=REF(W50,1);
WR60:=REF(W60,1);
WR70:=REF(W70,1);
WR80:=REF(W80,1);
WR90:=REF(W90,1);
WR100:=REF(W100,1);
WJ:=W00-WR00;
WJ10:=W10-WR10;
WJ20:=W20-WR20;
WJ30:=W30-WR30;
WJ40:=W40-WR40;
WJ50:=W50-WR50;
WJ60:=W60-WR60;
WJ70:=W70-WR70;
WJ80:=W80-WR80;
WJ90:=W90-WR90;
WJ100:=W100-WR100;
MAWJ:=MA(WJ,5),COLORBLUE;
MAWJ10:=MA(WJ10,5),COLORA54312;
MAWJ20:=MA(WJ20,5),COLORCYAN;
MAWJ30:=MA(WJ30,5),COLORFFFF00;
MAWJ40:=MA(WJ40,5),COLOR00FF00;
MAWJ60:=MA(WJ60,5),COLOR00FFFF;
MAWJ70:=MA(WJ70,5),COLOR0055FF;
MAWJ80:=MA(WJ80,5),COLORLIRED;
MAWJ90:=MA(WJ90,5),COLORFF00FF;
MAWJ100:=MA(WJ100,5),COLOR0000FF;
MAKS:=MAWJ+MAWJ10+MAWJ20+MAWJ30+MAWJ40,COLORFFFF00;
MAYL:=MAWJ60+MAWJ70+MAWJ80+MAWJ90+MAWJ100,COLORFF00FF;
{DRAWBAND(MAYL,RGB(255,0,0),MAKS,RGB(0,0,255));}
MAWJ50:=MA(WJ50,5),COLORFFFFFF;
突破:((MAKS+MAYL)-MAWJ50)/2,COLORA0FF0A LINETHICK2;
DRAWICON(筹码峰突破 AND FILTER(筹码峰突破=1,15),1.5,34);
IF(CROSS(突破,0),1.2,0)COLORFFFFFF;
DRAWICON(CROSS(突破,0),1.5,23);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,'34号图标-筹码峰突破 23号图标-筹码突破' ),COLORYELLOW;

通达信战略家筹码指标公式

相关文章