看多买入持股稳 逃顶卖出空仓等【指标公式】(含选股)

原创 股旁网 股旁网 5天前

未来函数检测结果: 恭喜!没有检测到未来函数请放心!)

E3:=EMA(C,3),COLORWHITE;

E5:=EMA(C,5),COLORYELLOW;

E10:=EMA(C,10),COLORFF00FF;

E20:=MA(C,20),COLORFFCC66;

GUP2:=(2*CLOSE+HIGH+LOW)/4;

GUP3:=IF(YEAR>=2099 AND MONTH>2,0,1);

GUP4:=LLV(LOW,5);

GUP5:=HHV(HIGH,4);

散:=EMA((GUP2-GUP4)/(GUP5-GUP4)*100,4)*GUP3;

庄:=EMA(0.667*REF(散,1)+0.333*散,2)*GUP3;

DRAWICON(CROSS(散,庄) AND 散<10,L-0.05,1);

DRAWICON(CROSS(庄,散) AND 散>20,H+0.05,2);

GUP9:=CLOSE-REF(CLOSE,5);

GUPA:=EMA(EMA(GUP9,5),5)/EMA(EMA(ABS(GUP9),5),5);

GUPC:=EMA(EMA(GUP9,10),10)/EMA(EMA(ABS(GUP9),20),20);

出逃:=IF(GUPA>0 AND CROSS(GUPC,GUPA),90,100);

DRAWICON(出逃<0,H+0.05,2);

买入:=EMA(CLOSE,2);

卖出:=EMA(SLOPE(CLOSE,11)*10+CLOSE,22);

B1:IF(CROSS(买入,卖出),L-0.09,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;

S1:IF(CROSS(20,RSI)*10,H+0.05,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;

VC:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100+(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100+(CLOSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;

S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.05,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN;

GUA0:=(L+H+C*2)/4;

GUA1:EMA(GUA0,5),COLORBLUE,LINETHICK2;

GUA2:=EMA(GUA0,10),COLORLIBLUE,LINETHICK2;

GUA1X:=(GUA1-REF(GUA1,1))/REF(GUA1,1)*100,NODRAW;

GUA2X:=(GUA2-REF(GUA2,1))/REF(GUA2,1)*100,NODRAW;

看多:IF(GUA1X>=0 AND BARSLAST(CROSS(GUA1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(GUA1X,0))),DRAWNULL),COLORMAGENTA,LINETHICK2;

逃顶:IF(GUA1X<0 AND BARSLAST(CROSS(0,GUA1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,GUA1X))),DRAWNULL),COLORCYAN,LINETHICK2;

买入持股:IF(GUA1X>=0,GUA1,DRAWNULL),COLORRED,LINETHICK3;

卖出空仓:IF(GUA1X<0 AND GUA2X<0,GUA1,DRAWNULL),COLORGREEN,LINETHICK3;

STICKLINE(CROSS(GUA1X,0),H,L,0,0 ),COLOR9933FF;

STICKLINE(CROSS(GUA1X,0),C,O,3,0 ),COLOR0000CC;

STICKLINE(CROSS(GUA1X,0),C,O,1,0 ),COLOR0033FF;

STICKLINE(CROSS(0,GUA1X),L,H,0,0 ),COLOR66CC33;

选股公式

{选股公式一:红箭头}

GUP2:=(2*CLOSE+HIGH+LOW)/4;

GUP3:=IF(YEAR>=2099 AND MONTH>2,0,1);

GUP4:=LLV(LOW,5);

GUP5:=HHV(HIGH,4);

散:=EMA((GUP2-GUP4)/(GUP5-GUP4)*100,4)*GUP3;

庄:=EMA(0.667*REF(散,1)+0.333*散,2)*GUP3;

红箭头:CROSS(散,庄) AND 散<10;

{选股公式二:紫色叉}

买入:=EMA(CLOSE,2);

卖出:=EMA(SLOPE(CLOSE,11)*10+CLOSE,22);

B1:=CROSS(买入,卖出);

紫色叉:B1;

图片示例
(0)

相关推荐