Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help whit Placing Order Strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help whit Placing Order Strategy

    Hello,

    I'm new around here, and so i'm on Programing! I'm trying to make a simple Strategy by the Market Wizard, but i cant find the option i need...

    What i would like to do is this:

    - Based on Renko 3 Chart.

    -"Something" that see if the candle close Green or Red (since chart is Renko 3, it would be something like "Buy +3 if Green | Sell -3 if Red".

    - Since i have the problem of placing orders "late", i find a solution that can be simple, (I hope) that is: " If price Close > Open, wait untill price is "+4" and buy in "+3"" . So i would let price go 1 tick above to LIMIT IN.

    I hope i made my Self clear, and not to mutch confuse. Is some 1 could help me on how to add the last part (in blue) on wizzard, or just writte me some code, that i can base on i would appreciate alot!

    Thank you

    #2
    Hello PauloP,


    There is not a way to reference renko bars in the strategy wizard.
    You would need to manually program a renko bar series into your strategy.


    Here is the AddRenko() and BarsInProgress Help Guides to assist you further.


    Here is the Order Methods Help Guide that details that various order methods you could use.


    For example:
    Code:
    [COLOR=#000000][FONT=Tahoma][COLOR=#000000][FONT=Tahoma]protected override void Initialize()
    {
        AddRenko("ES 09-16", 3, MarketDataType.Last);
    }
     
    protected override void OnBarUpdate()
    {
        if (BarsInProgress == 1)
        {
       // Do something;
       }
    }[/FONT][/COLOR][/FONT][/COLOR]

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    54 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    29 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    40 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    56 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    47 views
    0 likes
    Last Post CarlTrading  
    Working...
    X