OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Jim Dean

Sage
20001000
Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: trading plan stops
Posted : 6/11/2019 10:37 AM
Post #46229 - In reply to #46228

Good place to start is to define what you mean by “20 day moving stop”. Offhand I can think of several ways to read that:

1. Exit a trade after 20 bars, regardless of P/L
2. Exit a L/S trade if Close crosses above/below a 20-day High/Low
3-5. Same as #2 but Close vs 20 day SMA/WMA/EMA
6-8. Same as #3-5 but H/L instead of Close.

(I could probably list 10 other variants given another two minutes.)

The very best way to implement a particular type of stop is to use OLang to custom-program it. Then you know exactly how it works, and can fiddle with it as needed.

[Edited by Jim Dean on 6/11/2019 10:40 AM]

Deleting message 46229 : RE: trading plan stops


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.