PineScript Developer Tradingview

Job ID: 37770299

Budget: $10 – $30 USD

This should be a relatively simple task but let me know. Essentially, the tradingview platform has an option for 'Commission' (see attached). This is calculated in percentage (e.g. 1%), and is a 'fee' that is taken at every entry and exit of a trade. We want this to act as a 'Reward' on every entry or exit of the trade. For instance, at each entry or exit, you will be 'rewarded' 1% of the investment amount/closing amount. Unfortunately, TradingView doesn't seem to allow me to use the commission setting as the reward as this is always stuck as being a 'negative' fee. So either if you can code this setting to act as a positive, or simply add another variable that is added at each strategy entry and exit that would be great. If you think this is possible, let me know and I will send over a tester script for you to edit and make it work. Thanks!
Related categories: JavaScript Metatrader Pine Script Trading MQL4