OmniTrader Professional Forum - Feature Requests
Control the whole trade from the Systems Block

^ Top
Boris Lund

Posts: 59

Joined: 12/9/2021

User Profile
 
Subject : Control the whole trade from the Systems Block
Posted : 1/3/2022 8:29 AM
Post #31780

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)

^ Top
Jim Dean

Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Control the whole trade from the Systems Block
Posted : 1/3/2022 8:44 AM
Post #31781 - In reply to #31780

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”

^ Top
Boris Lund

Posts: 59

Joined: 12/9/2021

User Profile
 
Subject : RE: Control the whole trade from the Systems Block
Posted : 1/3/2022 1:39 PM
Post #31782 - In reply to #31780

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)

^ Top
Frank Birch

Posts: 171

Joined: 3/25/2006
Location: UK

User Profile
 
Subject : RE: Control the whole trade from the Systems Block
Posted : 1/3/2022 4:50 PM
Post #31787 - In reply to #31782

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


https://www.omnitrader.com/currentclients/proforum/thread-view.asp?threadid=7998&posts=4