Pine Script Debugging on TradingView
Budget: $30 – $250 USD
I'm looking for an experienced Pine Script programmer to debug an existing TradingView script. The script should take half the profit when the price reaches 50% of the take profit goal, however, there seems to be a discrepancy between the expected and actual results.
I need this existing code to be debugged.
I had a feature coded that will take half the profit when price reaches 50% of the the take profit goal.
However, price is not exactly splitting 50/50 and I have to use the the settings 50/66 and then it comes close to 50/50. Its a strange anomaly.
Also the halving of the profit target seems to not be what the price should be...for example.
If using 100,000 lots and a 20pip target the 50/50 profit should be $100/$100($200) profit. But the results dont seem to be matching that.
I need this existing code to be debugged.
I had a feature coded that will take half the profit when price reaches 50% of the the take profit goal.
However, price is not exactly splitting 50/50 and I have to use the the settings 50/66 and then it comes close to 50/50. Its a strange anomaly.
Also the halving of the profit target seems to not be what the price should be...for example.
If using 100,000 lots and a 20pip target the 50/50 profit should be $100/$100($200) profit. But the results dont seem to be matching that.