Commission-aware Trade Labels Description: This library provides an easy way to visualize take-profit and stop-loss levels on your chart, taking into account trading commissions. The library calculates and displays the net profit or loss, along with other useful information such as risk/reward ratio, shares, and position size. Features: Configurable...
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 :...
Library "GenericTrading" This library aims to collect rare but useful operations for get_most_recent_long_or_short_position_closed_index() : returns most recent long/short closed bar index. get_most_recent_long_or_short_position_open_index() : returns most recent long/short closed bar index. These two functions designed to help to speed up the...