Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ordering after price increase

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

    Ordering after price increase

    Hi,
    Can you show me the code that would help my indicator work like this please?;
    there is an order signal generated. The order is filled only when the price (at which the order was generated) increases by a certain percentage.

    #2
    Eddy, for example this snippet here would place a buy stop order 1 percent higher if we had an up close -

    Code:
     
    if (Close[0] > Close[1])
    EnterLongStop((Close[0] + (Close[0] / 100) * 1), "Long");

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X