烦请高手做一个选股指标:买入粉线趋势向上,收盘价小于或等于买入粉线。

2025-01-05 23:54:35
推荐回答(2个)
回答1:

买入:=XMA((C+H+O+L)/4,20)*(1-100/1000);
XG1:CROSS(C,买入) AND 买入>REF(买入,1);

回答2:

N:=20;
M:=32;
P1:=80;
P2:=100;
VAR1:=(C+H+O+L)/4;
买入:=XMA(VAR1,M)*(1-P2/1000);
选股:REF(买入,1)REF(买入,1) AND C<=买入;