把指标中的红三角和绿三角分别写出两个选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

{DRAWGBKLAST(1,STRIP(RgB(20,50,80),RGB(50,50,50),0));}ma5:MA(C,5),COLOrff00ff,LINETHICK2;ma13:MA(C,13),COLORffffff;ma34:MA(C,34),Colorff9933,LINETHICK2;A0:=AMOUNT/VOL/100;A1:=(EMA(A0,3)>EMA(A0,7) AND EMA(A0,7)>EMA(A0,13) AND EMA(A0,13)>EMA(A0,35))*6;短线起:A1,COLORred,LINETHICK0;DRAWICON(A1,MA(C,34),7),ALIGN0;BDGD:=C=HHV(C,20);GDSJ:=BARSLAST(BDGD);前高:IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ)),COLORFFFF00,PRECIS2,POINTDOT,LINETHICK2;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);ZX:=100*EMA(EMA(MTM,12),12)/EMA(EMA(ABS(MTM),12),12);CX:=100*EMA(EMA(MTM,26),26)/EMA(EMA(ABS(MTM),26),26);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);DTPL:=DX>ZX AND ZX>CX AND CX>0;QSXS:=DX>REF(DX,1) AND ZX>REF(ZX,1);TSJC:=CROSS(DX,CX) AND CROSS(ZX,CX);优选:=IF(CROSS(DTPL,0.8) AND (TSJC OR COUNT(QSXS,3)=3) AND CX<40,1,0);DRAWTEXT(filter(买=1,5),low*0.99,'▲'),COLORRED,ALIGN1;DRAWTEXT(filter(卖=1,5),high*1.02,'▼'),COLOR00FF00,ALIGN1;DRAWICON(优选,low*0.98,1),ALIGN1;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);J1:=3*K1-2*D1;BDGD1:=HHV(J1,2)=HHV(J1,8) AND J1>80;BDDD:=LLV(J1,2)=LLV(J1,8);J1向下拐头:=IF(CROSS(REF(J1-0.01,1),J1) AND REF(BDGD1,1),1,0);DRAWTEXT(j1向下拐头 ,high,'J↓'),COLORyellow;J1向上拐头:=IF(CROSS(J1,REF(J1+0.01,1)) AND BDDD AND J1<20,1,0);DRAWTEXT(j1向上拐头,low,'J↑'),COLOR00FF00;主筹估算:=EMA(WINNER(c)*70,3);散筹估算:=EMA((WINNER((c)*1.1)-WINNER((c)*0.9))*70,3);筹码锁定:=散筹估算-主筹估算 ;动态底部:=EMA(IF(L<= LLV(l,60),SMA(ABS(L-REF(L,1)),60,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3);涨:=CROSS(主筹估算,筹码锁定);强:=CROSS(主筹估算,散筹估算);STICKLINE(涨,O,C,2,0),COLORYELLOW;STICKLINE(涨,O,H,0,0),COLORYELLOW;STICKLINE(涨,L,C,0,0),COLORYELLOW;STICKLINE(强, O,C,2,0),colormagenta;STICKLINE(强,O,H,0,0),colormagenta;STICKLINE(强,L,C,0,0),colormagenta;STICKLINE(筹码锁定<-50,O,C,2,0),COLORred;STICKLINE(筹码锁定<-50,O,H,0,0),COLORred;STICKLINE(筹码锁定<-50,L,C,0,0),COLORred;买入:=STRFIND(Extrastring('评级'),'买入',1)>0;增持:=STRFIND(Extrastring('评级'),'增持',1)>0;持有:=STRFIND(Extrastring('评级'),'持有',1)>0;DRAWTEXTREL(5,970,'评级:'+Extrastring('评级')),colora9a9a9;{DRAWTEXTABS(5,360,'板块:'+BKNAME),colora9a9a9;}流通:=FINANCE2(37)/10000;市盈率:=DYNAINFO(39);F:=COST(5 );J:=COST(95 );M:=COST(15 );B:=COST(85 );F1:=(J-F)/(F+J)*100;M1:=(B-M)/(B+M)*100;集中度90:=F1;集中度70:=M1;获利盘:=WINNER(CLOSE)*100;套牢盘:=100*(1-WINNER(C));最新收益:=FINANCE2(3);浮筹比:=(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100;DRAWTEXTABS(5,65,'浮筹比:'+浮筹比+'% '),LINETHICK1,Colora9a9a9;DRAWTEXTABS(220,5,'流通:'+流通+' '),LINETHICK1,Colora9a9a9;DRAWTEXTABS(5,80,'市盈率:'+市盈率+' '),LINETHICK1,Colora9a9a9;DRAWTEXTABS(5,5,'集中度90:'+集中度90+' '),LINETHICK1,Color00FF00;DRAWTEXTABS(5,20,'集中度70:'+集中度70+' '),LINETHICK1,ColorYELLOW;DRAWTEXTABS(5,35,'获利盘:'+获利盘+'% '),LINETHICK1,Colora9a9a9;DRAWTEXTABS(5,50,'套牢盘:'+套牢盘+'% '),LINETHICK1,Colora9a9a9;DRAWTEXTABS(110,5,'最新收益:'+最新收益+'元 '),LINETHICK1,COLORa9a9a9;

解答:

 买:

MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
filter(买=1,5);
 
卖:
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
filter(卖=1,5);

选股票看什么指标最好 >股票指标网