NinjaTrader Indicator ATR Stop and Reverse

This project was awarded to glivv for $50 USD.

Get free quotes for a project like this
Project Budget
$30 - $50 USD
Total Bids
Project Description


I´m trying to code a Stop and Reverse ATR indicator for Ninjatrader7.


int periodATR = 100

double percentATR = 10


[url removed, login to view] for UPtrend

[url removed, login to view] for DOWNTrend


UPtrend code:Close[0] * (1 - ((ATR(periodATR)[0] * percentATR) / 10000))

Downtrend code: Close[0] * (1 - ((ATR(periodATR)[0] * percentATR) / 10000))

So, after that I would improve something:

1. If (UPtrend[0] < UPtrend[1]), I would like to mantain the value of uptrend[1] until I new higher UPtrend dot appears or reverse trend if the price close bellow the last uptrend dot.

2. If the trend reversed, every new DOWNTrend dot needs to be lower than the last DOWNTrend dot. If the DOWNTrend dot is higher, the indicator mantain the value of the lowest dot until the trend get reverse or appears a new lower dot.

Picture in attachment.

I´m looking for someone that can finish this indicator for me.

Best Regards.

Awarded to:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online