- This topic has 2 ข้อความตอบกลับ, 2 เสียง, and was last updated 9 years, 11 months มาแล้ว by .
-
กระทู้
-
ผมพยายามจะ convert สูตร ATR Trailing Stop ที่คุณ Mod โพสไว้ในบทความ http://www.mangmaoclub.com/trailing-stop/
โค้ดที่คุณ Mod โพส
…
{Wilder’s Volatility Trailing Stop by Mangmaoclub}
ATRper:=Input(“ATRper”,1,100,7);
Constant:=Input(“Constant”,1,5,3);
ARC:=Constant*ATR(ATRper);
Trail:=
If(C>PREV AND Ref(C,-1)>PREV,
HHV(C,ATRper)-ARC,
If(C<PREV AND Ref(C,-1)PREV,LLV(C,ATRper)-ARC,LLV(C,ATRper)+ARC)));
Trail
กำลังดู 2 ข้อความตอบกลับ - 1 ผ่านทาง 2 (ของทั้งหมด 2)
กำลังดู 2 ข้อความตอบกลับ - 1 ผ่านทาง 2 (ของทั้งหมด 2)
- คุณต้องเข้าสู่ระบบเพื่อตอบกลับกระทู้นี้