I'm a new user of Ninja Trader Plateforme, and i want to give congratulations to the programers ... what a great plateforme !!!
You must excuse my poor english cause i'm french and english is very difficult for me :-(
I need you help to convert my indicators running on a java plateforme (prorealtime) to Ninja Trader:
1) Ret90 (very easy i suppose):
Ret= (lowest[90](Low) + highest[90](High)) /2
RETURN Ret AS "Retracement90"
2) Cycle:
I = [4.1 * Stochastic%K(5.3) + 2.5 * Stochastic%K(14.3) + Stochastic%K(45.14) + 4 * Stochastic%K(75.20) ] / 11.6
mm = Average[9](I)
Cycle=I - mm
3) Repulse:
calcul = ((3*close)-(2*low) - open) / close *100
calcul1 = (open + (2*high) - (3*close)) / close *100
mm = ExponentialAverage[5](calcul)
mm2 = ExponentialAverage[5](calcul1)
repulses = mm - mm2
return repulses
Thank you
Comment