为了庆祝国庆,让还在被套及未赚钱的小散有一个赚钱的工具。特发一个自用保留极品主图及选股(源码无未来函数)【机械操作】主图
{【机械操作】主图}
GJ:=AMOUNT/VOL/100;
五日均价A:=MA(GJ,5)COLORYELLOW,LINETHICK2;
二十日均价A:=MA(GJ,20)COLORFF00FF;
通道上A:=HHV(MA(HIGH,3)*1.03,30);
通道下A:=LLV(MA(LOW,3)*0.97,30);
STICKLINE(五日均价A>二十日均价A,通道上A,通道下A,4,0)COLORLIBLUE;
STICKLINE(五日均价A<二十日均价A,通道上A,通道下A,4,0)COLORLIGRAY;
DP:=(HIGH+LOW)/2;
AA:=MA(DP,5);
BB:=MA(DP,33);
AO:C+(AA-BB);
M5:MA(AO,3),COLORYELLOW,LINETHICK3;
IF(AO>=M5,AO,DRAWNULL),COLORRED,LINETHICK3;
IF(AO<M5,AO,DRAWNULL),COLORGREEN,LINETHICK3;
A2:=通道上A-REF(通道上A,1);
A3:=通道下A-REF(通道下A,1);
通道上:=HHV(MA(HIGH,3)*1.03,30);
通道下:=LLV(MA(LOW,3)*0.97,30);
IF(A2>0,通道上,DRAWNULL) LINETHICK2 COLORBLUE;
IF(A2=0,通道上,DRAWNULL) LINETHICK1 COLORWHITE;
IF(A2<0,通道上,DRAWNULL) LINETHICK1 COLORGREEN;
IF(A3>0,通道下,DRAWNULL) LINETHICK2 COLORMAGENTA;
IF(A3=0,通道下,DRAWNULL) LINETHICK1 COLORWHITE;
IF(A3<0,通道下,DRAWNULL) LINETHICK1 COLORGREEN;
五日均价:MA(GJ,5)COLORBROWN,LINETHICK2;
二十日均价:MA(GJ,20)COLORFF00FF,LINETHICK2;
TT:=IF(五日均价<REF(五日均价,1),五日均价,DRAWNULL)COLORGREEN;
QQ:=(OPEN+CLOSE+HIGH+LOW)/4;
加仓:STICKLINE(二十日均价<QQ AND 五日均价<QQ,HIGH,LOW,0.1,0)COLORRED;
持股:STICKLINE(二十日均价<QQ AND 五日均价<QQ,OPEN,CLOSE,3,0)COLORRED;
清仓:STICKLINE(二十日均价>QQ AND 五日均价>QQ,HIGH,LOW,0.1,0)COLORCYAN;
持币:STICKLINE(二十日均价>QQ AND 五日均价>QQ,OPEN,CLOSE,3,0)COLORCYAN;
减仓:STICKLINE(二十日均价<QQ AND 五日均价>QQ,HIGH,LOW,0.1,0)COLORWHITE;
警戒:STICKLINE(二十日均价<QQ AND 五日均价>QQ,OPEN,CLOSE,3,0)COLORWHITE;
建仓:STICKLINE(二十日均价>QQ AND 五日均价<QQ,HIGH,LOW,0.1,0)COLORYELLOW;
关注:STICKLINE(二十日均价>QQ AND 五日均价<QQ,OPEN,CLOSE,3,0)COLORYELLOW;
DRAWICON(O<二十日均价 AND 二十日均价>QQ AND 五日均价<QQ,L*0.99,1);
DRAWICON(O<五日均价 AND 二十日均价<QQ AND 五日均价>QQ,H*1.01,2);
DRAWTEXT_FIX(1,0.00,0.01,0,'【机械操作】黄建仓,红持股,白减仓,青持币,收盘价大于通道上线特别关注')COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.06,0,'【机械操作】红箭头买入参考点,绿箭头止损参考点')COLORLIRED;
DRAWTEXT_FIX(1,0.00,0.12,0,'【机械操作】蓝色背景持股,灰色背景持币')COLORCYAN;
{【机械操作】选股}
DP:=(HIGH+LOW)/2;
AA:=MA(DP,5);
BB:=MA(DP,33);
AO:=C+(AA-BB);
M5:=MA(AO,3),COLORYELLOW,LINETHICK3;
xg:CROSS(AO, M5)&&DYNAINFO(14)>0.0149&&DYNAINFO(9)>0&&DYNAINFO(17)>0&&c>=3&&c<=70;