Hi, I would like to add some simple functionality to a TradingView indicator that I use to do my trading.
I would like to add the following input fields to my indicator:
1) Product Type -> it will be a drop down menu where I can choose whether to trade with :
sp500
Nasdaq100
Dax30
BTC
...Other
2) Trailing Stop -> I need to be able to choose whether to enter a % loss value or a numerical value (price).
3) Take Profit 1 -> I need to be able to choose whether to enter a % gain value or a numerical value (price)
4) Position Size -> the value of the position to be opened. By default it will be 0.1 and must be incrementable or decrementable by 0.1
The values of these 4 indicator input fields must then be entered into the "message" field of the alert which I will then use to send it to the Oanda broker, via Autoview
Is there anyone who can help me ?