只需一步,快速开始
2019-3-23 10:12| 发布者: admin| 查看: 90| 评论: 0
{筹码密集(副图指标源码)}
主筹估算:EMA(WINNER(C)*70,3),LINETHICK2,COLORRED; 散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK2,colorgreen; 筹码锁定:散筹估算-主筹估算,COLORFFBB00; 动态底部:EMA(IF(L<= LLV(l,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3),COLORYELLOW; STICKLINE(动态底部>0,0,动态底部,4,0),COLORYELLOW; STICKLINE(筹码锁定>0,筹码锁定,散筹估算,1,0),color009900; STICKLINE(筹码锁定<=0,0,散筹估算,2,0),color009900; STICKLINE(筹码锁定>0,0,筹码锁定,2,0),COLORFFBB00; STICKLINE(筹码锁定<0,0,筹码锁定,1,0),COLORFFBB00; 主筹估算,LINETHICK2,COLORRED; 涨:CROSS(主筹估算,筹码锁定),COLORWHITE; 强:CROSS(主筹估算,散筹估算),COLORYELLOW; STICKLINE(涨,0,筹码锁定,4,0),COLORWHITE; STICKLINE(强,0,散筹估算,4,0),COLORYELLOW; DRAWICON(CROSS(主筹估算,散筹估算),散筹估算,1); DRAWICON(CROSS(主筹估算,筹码锁定),主筹估算-0.2,1);
ZDD1:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10); ZDD2:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100); ZDD3:=SMA(ZDD2,13,8); ZDD4:=CEILING(SMA(ZDD3,13,8)); ZDD5:=SMA(ZDD1,21,8); XW1:=((SMA(MAX((CLOSE - REF(CLOSE,2)),0),7,1) / SMA(ABS((CLOSE - REF(CLOSE,2))),7,1)) * 100); XW2:=(((ZDD4 - ZDD5) < (0 - 65)) AND (XW1 < 12)); WW1:=(SUM(MA(CLOSE,10),9) / 10.11); WW2:=CROSS(CLOSE,WW1); XX1:=(MA(LOW,2) * 0.96); XX2:=(MA(LOW,26) * 0.85); XX3:=(((REF(XX1,1) < XX2) AND (REF(XX1,1) < XX1)) AND (REF(XX1,1) < REF(XX1,2))); DD1:=((XW2 OR WW2) OR XX3); DD2:=(EMA(IF(DD1,(SMA(ABS((LOW - REF(LOW,1))),30,1) / SMA(MAX((LOW - REF(LOW,1)),0),30,1)),0),3) * 10); PARTLINE(DD2,DD2),color15A6FF; FILLRGN(CLOSE,0,DD2),colorA8FFE5; X1:=(SMA(AMOUNT,10,1) / 10000000); X2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); X3:=SUM(IF((CLOSE > REF(CLOSE,1)),(X1 * X2),0),12); X4:=SUM(IF((CLOSE <= REF(CLOSE,1)),(X1 * X2),0),12); X5:=(SMA(X3,3,1) - (SMA(X4,3,1) * (0 - 1))); X6:=SMA(X5,3,1); 有戏:=(((EMA(CLOSE,30) - EMA(CLOSE,34)) / EMA(CLOSE,34)) * 100); 无戏:=(((EMA(CLOSE,34) - EMA(CLOSE,30)) / EMA(CLOSE,30)) * 100); XYZ1:=(有戏 - 无戏); XYZ2:=MA(XYZ1,3); STICKLINE((XYZ1 > XYZ2),(0 - 1),1,10,0),colorFF0000; STICKLINE(((X5 > X6) AND (X5 < 0)),(0 - 1),1,18,0),colorFF0000; STICKLINE((X5 < X6),(0 - 1),1,18,0),colorFFFFE9; STICKLINE((XYZ1 < XYZ2),(0 - 1),1,10,0),colorFF0000; DRAWTEXT((BARSTATUS = 2),(0 - 2),'蓝关注;绿进;红出;白警惕'),ALIGN2,colorFFFFFF; L1:=EMA((WINNER(CLOSE) * 70),5); 警戒:=EMA(L1,89); VAR2:=IF(C>=O,H,0); VAR3:=IF(C<=O,REF(H,1),VAR2); VAR4:=IF(C>=O,V,0); VAR5:=IF(C<=O,REF(V,1),VAR4); VAR6:=COUNT(VAR3>REF(VAR3,1) AND VAR5=2 AND C>O; 量价背离:VAR6*30,STICK,COLOR0000FF,LINETHICK2;