OmniVest Forum OmniVest 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.


[Random Quote] -


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

 
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : RE: How Conditions in Strategy Lab affect the Stra
Posted : 4/9/2016 7:17 PM
Post #35796 - In reply to #35795

There are a couple of important points in using the conditions...

If you choose "Enter Position":
The condition needs to be False except when you want to allow a trade.
When it goes true, if there's a trade already in progress it enters it the morning after the condition went true (could be a number of days after the trade was signaled & would've originally entered)
If there's no trade in progress and the condition stays true for a while, it allows the trade to enter when the strategy triggers an entry while the condition is true.
In both those cases, if you haven't checked "Close Positions", the trade will exit whenever the tradeplan signals an exit (the condition can go False and the trade continues to its normal exit).
If it never goes true, you never enter a trade.

If you check "Close Positions":
You want the condition to normally be True so that the normal Strategy trades take place - but when your condition goes False, then the trade will exit early at that point (next morning in OV) and not wait for a normal Strategy exit.
The condition would have to go back to True to allow any additional trades according to the normal Strategy behavior.

Having both checked gets into "deep weeds" as you have to really think about the process and use some fancy nested Boolean logic to make it work the way you want...

Hope that helps,
Mark



[Edited by Mark Holstius on 4/9/2016 7:28 PM]

Deleting message 35796 : RE: How Conditions in Strategy Lab affect the Stra


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