简单买卖主图
源码
MA2:MA(CLOSE,10);
MA4:MA(CLOSE,60);
HJ_2:=SMA(MAX(CLOSE-HJ_1,0),2,1)/SMA(ABS(CLOSE-HJ_1),2,1)*100;
HJ_4:=SMA(HJ_3,3,1)*HJ_2/100;
HJ_6:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
HJ_8:=SMA(MAX(CLOSE-HJ_1,0),139,1)/SMA(ABS(CLOSE-HJ_1),139,1)*100;
HJ_10:=SMA(HJ_9,2,1)*HJ_8/100;
逃顶1:DRAWICON(IF(CLOSE>MA(HHV(HIGH,670),20),CROSS(HJ_10,64),CROSS(HJ_4,80)),HIGH*1.005,15);
抄底:DRAWICON(FILTER(IF(CLOSE< MA(LLV(LOW,8),20),REF(HJ_7,1)< 4 AND HJ_7>REF(HJ_7,1),CROSS(4.5,HJ_4)),3),LOW*0.995,9);
“钱袋子”的选股公式如下:
HJ_2:=SMA(MAX(CLOSE-HJ_1,0),2,1)/SMA(ABS(CLOSE-HJ_1),2,1)*100;
HJ_4:=SMA(HJ_3,3,1)*HJ_2/100;
HJ_6:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
钱袋子:FILTER(IF(CLOSE< MA(LLV(LOW,8),20),REF(HJ_7,1)< 4 AND HJ_7>REF(HJ_7,1),CROSS(4.5,HJ_4)),3);