|
Boris Lund
 Regular
  Posts: 59
Joined: 12/9/2021
User Profile |
Control the whole trade from the Systems Block.
It is counterproductive that we have to make the stop again and in OmniScript (Orders/Tradeplans) when we already have the full entry and exit calculated in OmniLanguage and finalized in the Systems Block.
Attached file : SystemsBlock.png (7KB - 156 downloads)
|
|
Jim Dean
 Sage
       Posts: 3433
Joined: 3/13/2006
Location: L'ville, GA
User Profile |
This can already be done but it involves a *lot* of coding (1000’s of lines for a robust Strategy).
The entire strategy can be coded and plotted and focus-listed using an Indicator.
Then that Indicator can be called by a simple System to generate entries, and called by a simple Stop to generate Exits.
It can be used to populate Focus Lists with whatever information you want about the Strategy.
The indicator ideally incorporates all the filtering etc. This can ONLY be done by an Indicator, since a System and Stop are not callable and operate only at one end or the other of the trade.
I’ve been coding things like this for about six years now. My term for this is “Stradicator”
[Edited by Jim Dean on 1/3/2022 8:49 AM]
|
|
Boris Lund
 Regular
  Posts: 59
Joined: 12/9/2021
User Profile |
Thank you, that helped with the initial problem.
Now I can program the stop at the turning point as shown.
But now it became clear that the Systems Block is doing its own thing as is shown on the picture and that is the stop I want passed to control the stop.
Not sure if it is better or worse but I have to pass it through to test in the rapport how it performs.
Attached file : SystemsBlock.png (44KB - 160 downloads)
|
|
Frank Birch
 Veteran
   Posts: 171
Joined: 3/25/2006
Location: UK
User Profile |
Hi Boris,
Have you not found the SDK add on with in omnitrader.
in there you can do a whole lot more with ease.
Regards
Frank Birch
[Edited by Frank Birch on 1/3/2022 5:00 PM]
|