【通达信免费源码】主力筹码突破和谐完全加密指标源码
{主力筹码突破}
公式描述: 主力筹码突破ZLCMTP}
主筹估算:EMA(WINNER(CLOSE)*70,3),COLORRED,LINETHICK2;
散筹估算:EMA((WINNER(CLOSE1.1)-WINNER(CLOSE0.9))*70,3),COLORGREEN;
筹码锁定:散筹估算-主筹估算,COLORFFBB00;
STICKLINE(筹码锁定>0,筹码锁定,散筹估算,1,0),COLOR99FF00;
STICKLINE(筹码锁定<=0,0,散筹估算,2,0),COLOR99FF00;
STICKLINE(筹码锁定>0,0,筹码锁定,2,0),COLORFFBB00;
STICKLINE(筹码锁定<0,0,筹码锁定,1,0),COLORFFBB00;
DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,4);
DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,8);
涨:CROSS(主筹估算,筹码锁定),COLORWHITE;
强:CROSS(主筹估算,散筹估算),COLORYELLOW;
STICKLINE(涨,0,筹码锁定,2,0),COLORYELLOW;
STICKLINE(强,0,散筹估算,2,0),COLORWHITE;
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,13,8);
VAR4:=CEILING(SMA(VAR3,13,8));
VAR5:=SMA(VAR1,21,8);
VAR6:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100;
VAR7:=VAR4-VAR5<(-65) AND VAR6<12;
VAR8:=SUM(MA(CLOSE,10),9)/10.11;
VAR9:=CROSS(CLOSE,VAR8);
VAR10:=MA(LOW,2)*0.96;
VAR11:=MA(LOW,26)*0.85;
VAR12:=REF(VAR10,1)<VAR11 AND REF(VAR10,1)<VAR10 AND REF(VAR10,1)<REF(VAR10,2);
VAR13:=VAR7 OR VAR9 OR VAR12;
VAR14:=EMA(IF(VAR13,SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LOW,1),0),30,1),0),3)*10;
VAR15:=IF(VAR14>REF(VAR14,1),VAR14,DRAWNULL);
动态底部:EMA(IF(LOW<=LLV(LOW,99),SMA(ABS(LOW-REF(LOW,1)),99,1)/SMA(MAX(LOW-REF(LOW,1),0),99,1),0)*5,3),NODRAW,COLORMAGENTA;
STICKLINE(动态底部>0,0,动态底部,5,0),COLORMAGENTA;
VAR16:=SMA(AMOUNT,10,1)/10000000;
VAR17:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VAR18:=SUM(IF(CLOSE>REF(CLOSE,1),VAR16*VAR17,0),12);
VAR19:=SUM(IF(CLOSE<=REF(CLOSE,1),VAR16*VAR17,0),12);
VAR20:=SMA(VAR18,3,1)-SMA(VAR19,3,1)*(-1);
VAR21:=SMA(VAR20,3,1);
VAR22:=(EMA(CLOSE,30)-EMA(CLOSE,34))/EMA(CLOSE,34)*100;
VAR23:=(EMA(CLOSE,34)-EMA(CLOSE,30))/EMA(CLOSE,30)*100;
VAR24:=VAR22-VAR23;
VAR25:=MA(VAR24,3);
STICKLINE(VAR24>VAR25,(-1),1,10,0),COLORGREEN;
STICKLINE(VAR20>VAR21 AND VAR20<0,(-1),1,18,0),COLORBLUE;
STICKLINE(VAR20<VAR21,(-1),1,18,0),COLORFFFFE9;
STICKLINE(VAR24<VAR25,(-1),1,10,0),COLORRED;
DRAWTEXT(BARSTATUS=2,(-2),24),COLORWHITE;
NOTEXT20:主筹估算,COLORRED,LINETHICK2;
VAR26:=EMA(WINNER(CLOSE)*70,5);
VAR27:=EMA(VAR26,89);
牛熊线:VAR27,COLORMAGENTA,LINETHICK2;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:翔博软件工作室'),COLORRED;
IF(CLOSE>REF(CLOSE,1),VAR27,DRAWNULL),COLORMAGENTA,LINETHICK2;
VAR28:=IF(CLOSE>=OPEN,HIGH,0);
VAR29:=IF(CLOSE<=OPEN,REF(HIGH,1),VAR28);
VAR30:=IF(CLOSE>=OPEN,VOL,0);
VAR31:=IF(CLOSE<=OPEN,REF(VOL,1),VAR30);
VAR32:=COUNT(VAR29>REF(VAR29,1) AND VAR31<REF(VAR31,1),3)>=2 AND CLOSE>OPEN;
量价背离:VAR32*30,STICK,COLORRED,LINETHICK2;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!