Reply To: รบกวนขอสูตรทั้งหมดสำหรับ Amibroker ครับ

#24362
dreamscat
Keymaster

ATR trailing stop.afl (สูตรเฉพาะ indicator ครับ)

prd = 14;
x = 2;
plt0 = HHV(H-x*ATR(prd),prd);
plt1 = IIf(C>plt0,plt0,Null);
Plot(plt1,”ATR trailing stop”,colorRed,styleThick);
//Plot(C,”Price”,colorGrey40,styleCandle);