TAG:大智慧

 网友求助:

请老师将郑云老师的《山之妙在峰回路转,水之妙在风起波生》改为大智慧版本
要求:改为大智慧版本

CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
CYS:=(CLOSE-CYC13)/CYC13*100;
ASR:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;
AA:CYS<16 && ASR<10 && CROSS(PSY.PSY,PSY.PSYMA) && PSY.PSY<20 && PSY.PSYMA<20 && C>O,NODRAW ;
STICKLINE(AA,20,0,3,0),COLOR00FFFF;
DRAWTEXT(AA,21,'抄'),COLORFF00FF;
 

 

 

解答如下:

N:=12;
CYS:=(C-CYC(13))/CYC(13)*100<16;
ASR:(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100<10;
PSY:=COUNT(CLOSE>REF(CLOSE,1),N)/N*100;
PSYMA:=EMA(PSY,3);
AA:CYS AND ASR AND CROSS(PSY,PSYMA) AND PSY<20 AND PSYMA<20 AND C>0 ;
STICKLINE(AA,20,0,8,0),COLOR00FFFF;
DRAWTEXT(AA,21,'抄'),COLORFF00FF;