I am creating a backtesting system based on RightEdge that exposes RightEdge functionality via a very simple API that also hooks into our other IT systems. I previously accomplished this with Ninja Trader, but am trying to duplicate the backtesting system with RightEdge.
In the NewBar() event of a Trading System, is traders need a simple C# method that they can call, with the ATR parameter of their choice, to determine of a price they pass to my custom method is "X ATRs Worse" from their passed price, like this:
double tradersChosenATRParameter1 = 10;
double tradersChosenATRParameter2 = (a number that the trader will chose when they develop their trading system...);
else if(IsXATRsWorse(tradersCalculatedPrice, tradersChosenATRParameter2))
In the indicator samples that I am finding, it looks like the trading system developer needs to decide at design time what the ATR parameter will be, but I need to allow the traders to call my "IsXATRsWorse()" method with many possible parameters in the same trading system.
In Ninja Trader, the trading system developer could at any time ask for ATR(12), ATR(14), etc... without having to choose 12 and 14 at design time. Is this possible in RightEdge?