通达信仿天狼指标 博弈均线公式
无均线、博弈均线,牛熊线和底部线有差异,希望高手能够补全。
VAR1:=MA(WINNER(CLOSE)*100,3);
底部线: (COST(55)-COST(45))*100/(COST(97)-COST(3)),COLORGREEN;
牛熊线: (COST(65)-COST(35))*100/(COST(97)-COST(3)),COLORRED;
压力线: (COST(95)-COST(5))*100/(COST(97)-COST(3)),COLORCYAN;
STICKLINE(WINNER(CLOSE)*100>=WINNER(OPEN)*100,WINNER(OPEN)*100,WINNER(CLOSE)*100,2,0),COLORRED;
STICKLINE(WINNER(OPEN)*100>WINNER(CLOSE)*100,WINNER(CLOSE)*100,WINNER(OPEN)*100,2,0),COLORGREEN;
STICKLINE(WINNER(CLOSE)*100>=WINNER(OPEN)*100,WINNER(CLOSE)*100,WINNER(HIGH)*100,0,0),COLORRED;
STICKLINE(WINNER(CLOSE)*100>=WINNER(OPEN)*100,WINNER(OPEN)*100,WINNER(LOW)*100,0,0),COLORRED;
STICKLINE(WINNER(OPEN)*100>WINNER(CLOSE)*100,WINNER(CLOSE)*100,WINNER(LOW)*100,0,0),COLORGREEN;
STICKLINE(WINNER(OPEN)*100>WINNER(CLOSE)*100,WINNER(OPEN)*100,WINNER(HIGH)*100,0,0),COLORGREEN;
DRAWTEXT(CLOSE/OPEN>88,LOW,'');
AA:=AMOUNT/VOL/100;
RA:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VL1A:=SUM(AMOUNT,7)/AA/100;
VL2A:=DMA(RA,VOL/VL1A);
VLA:=(CLOSE-VL2A)/VL2A*100;
分水岭:=MA(VLA,20)+1.732*STDP(VLA,20)*5;
DIFF:=MA(VLA,20)-1.732*STDP(VLA,20)*5;
通道宽:分水岭-DIFF,LINETHICK1,COLORYELLOW;
博弈K线长阳:WINNER(LOW)*100*(WINNER(CLOSE)*100-WINNER(OPEN)*100>20),LINETHICK;
无量长阳:WINNER(CLOSE)*100-WINNER(OPEN)*100>15 AND VOL/CAPITAL<0.03,LINETHICK,COLORMAGENTA;
换手%: VOL/CAPITAL*100,COLORGREEN ,LINETHICK;
STICKLINE(无量长阳,WINNER(OPEN)*100,WINNER(CLOSE)*100,2,0),COLORMAGENTA;
STICKLINE(无量长阳,WINNER(LOW)*100,WINNER(OPEN)*100,0,0),COLORMAGENTA;
STICKLINE(无量长阳,WINNER(CLOSE)*100,WINNER(HIGH)*100,0,0),COLORMAGENTA;
STICKLINE(博弈K线长阳,WINNER(OPEN)*100,WINNER(CLOSE)*100,2,0),COLORMAGENTA;
STICKLINE(博弈K线长阳,WINNER(LOW)*100,WINNER(OPEN)*100,0,0),COLORMAGENTA;
STICKLINE(博弈K线长阳,WINNER(CLOSE)*100,WINNER(HIGH)*100,0,0),COLORMAGENTA;