全套赢在龙头大智慧指标
{机构能量线} Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 机构做空能量线: SMA(Var1,3,1),linethick2,colorgreen; Var2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 机构做多能量线: SMA(Var2,5,1)-8,linethick2,colorred; {资金趋势} 均价:=(H+L+O+C)/4; 分水岭:ma(3*均价-2*sma(均价,2,1),12)linethick; 做多趋势:if(均价>分水岭,均价,分水岭),COLORYELLOW; 支撑:REVERSE(做多趋势)+2*分水岭,COLORMAGENTA; 下跌:if(均价<分水岭,均价,分水岭),COLORGRAY; B:=(2*Ema(LLV(均价,7),10)-均价); 做空趋势:(3*B-2*SMA(B,10,1)),COLORgreen,linethick2; 阻力:=REVERSE(下跌)+2*分水岭; 资金趋势:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORYELLOW,LINETHICK2; VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=((VAR2)/(VAR1))*(100)-70; VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100); VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4); VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VAR10:=IF((VAR9>100),VAR9-100,0); VAR11:=HHV(HIGH,34); B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8); 机构持仓:EMA(B1,13),POINTDOT,COLORRED; STICKLINE(B1-机构持仓>0,B1,机构持仓,5,0),COLOR0000FF; STICKLINE(B1-机构持仓<0,B1,机构持仓,5,0),COLOR00FF00 资金指数 主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,linethick2; 非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorgreen,linethick2; 20,pointdot,colorf00ff0; 50,pointdot,colorgreen; 80,pointdot,colorwhite; 多空对比 短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE; 中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW; 中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA; 长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2; 强市线:80,POINTDOT; 弱市线:20,POINTDOT; 分水岭:50,POINTDOT;
|