However, when using Ninjascript and programmatically applying a RiskReward drawing to the chart as per:
developers are provided parameters such as entryY, endY, ratio, etc. to specify positions. However, there appears to be some inconsistency here (or a lack of understanding on my part) as to what value goes where when it comes to the 'endY' parameter.
As far as entryY, that's fairly obvious.
As for as endY, it appears to be what I would put in as Price Target (rather than Stop Loss), as one would enter using the drawing tool.
Perhaps you can provide some further clarification as to what values should go where since the documentation provided in the reference manual at this page:
has an example which refers neither to Entry, StopLoss, Target, and I could use some additional insight to implement my indicator correctly.
-- Gregory

Comment