很多人不会卖出股票,本人根据自己多年的经验做了个主图卖出提示指标,希望能给大家一个帮助,不保证100%准确,可以保证你不深套。基本卖在高点上。
源码
起:MA(CLOSE,3);
跑:MA(CLOSE,10);
牛:MA(CLOSE,46);
AA:=CROSS(起, C);
GG:=CROSS( C,牛 );
NN:=CROSS(牛, 起);
BB1:=CROSS(牛, C);
PP:=BB1 AND NN;
SS:=CROSS(起,牛);
MM:=GG AND SS ;
JJ:=CROSS(跑,起 ) AND C<起 AND C<跑 AND C>O;
KK:=CROSS(起,C ) AND CROSS(跑,C) AND O>C AND 起>跑;
FF:=CROSS(跑, 起);
DRAWTEXT(C<REF(C,1)AND PP AND C<REF(C,1), C,'清仓走人') , COLORGREEN;
DRAWTEXT(JJ ,H,'卖') ,COLORGREEN;
DRAWTEXT(KK ,H,'跑') , COLORBLUE;
DRAWTEXT(H<REF(H,1) AND 牛<跑 AND C<O AND C<起 AND REF(H,2)<REF(H,1)AND 牛<起 AND 跑<起 AND C<REF(C,1),H,'减仓,牛线下不买票'),COLORWHITE;
DRAWTEXT(FF,H,'死叉'),COLORYELLOW;