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 Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,789 views
    0 likes
    Last Post aligator  
    Started by Jimmyk, 01-26-2018, 05:19 AM
    6 responses
    837 views
    0 likes
    Last Post emuns
    by emuns
     
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,293 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    13 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    63 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X