修改后的金莲指标公式

[复制链接]
查看29 | 回复0 | 2022-7-24 07:39:25 | 显示全部楼层 |阅读模式

获利盘:=WINNER(C)*100,COLOR00FFFF,LINETHICK1;
HLPMA5:=MA(获利盘,5),COLORFF00FF,LINETHICK1;
HLPMA53:=SMA(HLPMA5,3,1),COLOR0000FF,LINETHICK2;
DRAWBAND(HLPMA5,RGB(158,58,58),HLPMA53,RGB(0,100,50));
短套:EMA(100*(1-WINNER(1.10*C)),1),COLORWHITE,LINETHICK1;
中套:EMA(100*(1-WINNER(1.20*C)),1),COLORYELLOW,LINETHICK1;
长套:EMA(100*(1-WINNER(1.5*C)),1),COLORMAGENTA,LINETHICK2;
WLT1:=短套>95;
WLT2:=中套>80;
WLT3:=长套>60;
WLT4:=长套>70;
WLT5:=中套>85;
TJ1:=WLT1>REF(WLT1,1) AND WLT2>REF(WLT2,1) AND WLT3>REF(WLT3,1);
BT001:=WLT1 AND WLT2 AND WLT3 AND WLT3>REF(WLT3,1);
BT002:=WLT1 AND WLT2>REF(WLT2,1);
BT003:=WLT1 AND WLT4 AND WLT5;
BT004:=WLT1 AND WLT4 AND WLT5 AND TJ1;
TJ2:=CROSS(90,短套) AND  中套>60 ;
TJ3:=COUNT(短套>85 AND 中套>60 ,10)>7 AND CROSS(80,短套);
TJ4:=FILTER(短套>85 AND 中套>70  AND 长套>40,5);
TJ6:=短套>90 AND 中套>75;
TJ5:=短套>85 AND 中套>70  AND 长套>40;

JLBT:=FILTER(TJ1 OR TJ2 OR TJ3 OR TJ4 OR BT001 OR BT002 OR BT003 OR BT004,5);
DXBT01:=LONGCROSS(73.8,短套,5) AND 中套>20  AND 长套>1;
DXBT02:=COUNT(短套>70,13)>9 AND CROSS(71,短套) AND 中套>20;
YLBT:=FILTER(DXBT01 OR DXBT02,3);
MT:=BARSLAST(REF(CROSS(75,短套),1));
ZLBT:=(MT<21 AND MT>3 AND 短套<REF(短套,MT+1) AND CROSS(75,短套));
CRBT:=FILTER((CROSS(HLPMA5,长套)  OR CROSS(HLPMA5,HLPMA53)) AND 获利盘<10 AND LAST(长套>1.618,5,0),8);
XG:=JLBT OR YLBT OR ZLBT OR CRBT;
年选股:=SUM(XG,250),NODRAW;
利润:=REF(XG,20) AND HHV(H,20)>=REF(C,20)*1.10;
成功:=SUM(利润,250),NODRAW;
成功率%:=成功/年选股*100,NODRAW;
ST1:=FILTER(CROSS(获利盘,HLPMA5) AND HLPMA5>80,5) AND 中套=0;
ST2:=FILTER(COUNT(CROSS(获利盘,HLPMA5),15)>=3 AND HLPMA5>61.8,15) AND C<MA(C,3);
ST:=(ST1 OR ST2);
DRAWBAND(100,RGB(0,250,0),(100-ST*15),RGB(18,250,18));
DRAWTEXT(ST,85,'卖'),COLOR00FF00;
IF(HLPMA5>=HLPMA53,HLPMA5,DRAWNULL),COLORRED; 
IF(HLPMA53>=HLPMA5,HLPMA53,DRAWNULL),COLORFF9900;
IF(HLPMA5>=HLPMA53,HLPMA53,DRAWNULL),COLOR00FFFF;
IF(HLPMA53>=HLPMA5,HLPMA5,DRAWNULL),COLOR00FF00;
IF(短套=0&&中套=0&&长套=0,50,0);

835333477.jpg

835333477.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则