Library "profitestimate"
Simple profit Estimatr. Engages when Position != 0
and holds until posittion is na/0...
if position changes sizes, it will update automatically and adjust.
it has an input for comission to estmate exit fees
update_avgprice(_sizewas, _delta, _pricewas, _newprice)
Get a new Average position Price
Parameters:
_sizewas :...
Gain Loss indicator for tracking the gains and losses during trades
Options to Input
* Entry Price
* Type of Position
* Size of Position
* Currency Multiplier
Please like if you find this script useful :)