• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enter long position crossing a ema

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

    Enter long position crossing a ema

    Good morning: I'm trying to open a long position when the price (Renko bar) crosses above an EMA, but I want that this crossing occurs in the penultimate candle. I have used the following formulas: a) Price, two bars ago, crosses over EMA. b) Price crosses, look bar period 2, EMA. But I cannot get it.
    Could you help me?
    Thank you

    #2
    Hello Felnat,

    Our NinjaTrader Support is not able to assist with a custom calculation or formulate, but I am able to assist with understanding if this condition is evaluating as true or false and why.

    This thread will remain open for any community members that would like to assist with the calculations or formulas.

    Regarding the condition, you can use a print that prints the time of the bar and all values used in the condition set that places the order to find out why that condition evaluated as true or false.

    Below is a link to a forum post that demonstrates.
    https://ninjatrader.com/support/foru...121#post791121

    Please add a print (that includes the time of the bar) similar to what is demonstrated in the video and include the output with your next post and I will be happy to assist you in analyzing the output.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by hir04068, Today, 06:58 AM
    0 responses
    4 views
    0 likes
    Last Post hir04068  
    Started by escobar63, Yesterday, 05:06 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by Brutus, Today, 06:00 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by phesi, Today, 03:36 AM
    2 responses
    8 views
    0 likes
    Last Post phesi
    by phesi
     
    Started by Guru73, Today, 01:35 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X