Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is this simple?

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

    Is this simple?

    Hello ,

    I have this box indicator which marks the Tokyo session.

    I would like to make a strategy which takes a trade when the box breaks from so many pips from the box.

    Can someone help me do it and I will share the indi.

    The indi is not free so I cant post it publicly


    Thank you

    Basil

    #2
    Hello Blazer,

    Without knowing the price of the lines from the script, I can't give definitive answer, but I can give you the theory.

    I will use the RSI as an example

    Example -
    Code:
    //Lower line
    if(Close[0] - 10 * TickSize <= RSI(14, 3).Lines[0].Value)
    {
    //Do something
    }
    
    //Upper line
    if(Close[0] + 10*TickSize >= RIS(14,3).Lines[1].Value)
    {
    //Do something
    }
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Taddypole, 04-26-2024, 02:47 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by futtrader, 04-21-2024, 01:50 AM
    6 responses
    58 views
    0 likes
    Last Post futtrader  
    Started by sgordet, Today, 11:48 AM
    0 responses
    4 views
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Trader146, Today, 11:41 AM
    0 responses
    5 views
    0 likes
    Last Post Trader146  
    Started by jpapa, 04-23-2024, 07:22 AM
    2 responses
    19 views
    0 likes
    Last Post rene69851  
    Working...
    X