I'm discretionary forex Day trader, and I need indicator which resizes the Order qty in Chart Trader (NT8) depending on the distance of the running closing price from manually drawed marker (Diamond)
In properties indicator should have:
1. the value of the account received from account cash value
2. percentile value of the risk (2 decimal point) (eg. 2,5%)
3. Rate of exchange quoted currency to PLN (eg. for EUR/USD I would put in today 3,5690) (4 decimal point)
4. The maximum leverage (eg. 40)
5. Rounding (down) of the Order qty (to 10000, 20000, 50000, 100000)
6. text color
the indicator activity after drawing the marker:
1. the Order qty changes depending on distance of the marker to the running close price (formula for order qty : account cash value * percentile value of risk / rate of exchange / distance in pips * 10000). Order qty should be not bigger as allowed leverage (formula for maximum Order qty : account cash value / rate of exchange * maximum leverage)
2. Display marker distance from the closing price in pips (on the right side of the marker (3-4 cm)
3. I don't know what to do when I draw 2 marks. Suggestion ?
NinjaTrader 8 indicator to manipulate Chart Trader quantity based on the object on chart and price
Relevant Skills and Experience
NinjaScript (C#)
Proposed Milestones
$222 USD - Delivery