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 tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,281 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    19 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Tim-c, Today, 02:10 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    5 views
    0 likes
    Last Post Taddypole  
    Working...
    X