I no longer use this indicator and I'd recommend you not using it, either.
I'd advise not to close trades based on profit, but on analysis and pre-set (re-evaluated if necessary) targets.
I have been using "pipsometer_5_decimal.mq4" by Lukasz Tomaszkiewicz (credit where credit is due ) for some time now, but it displays profit/loss in pips. I slowly shifted to care less and less about pips and more and more about the percentage change of my account (besides, pips are not equal among instruments) and I decided to write my own version displaying gain/loss in % relative to current account balance... just to have my greed in check
I made it sum all opened positions for current symbol (including swap and commissions) and added showing the change for the current day and/or for all filtered positions in Account History tab for the current symbol.
Show_Open: show profit/loss for opened positions,
Show_Filtered: show profit/loss for closed positions filtered in "Account History" tab, e.g. "All History", "Last Month", "Last Week", "Today", etc.
Colour: font colour,
Open_Font_Size: font size for opened positions,
Daily_Font_Size: font size for closed positions in current day,
Filtered_Font_Size: font size for closed filtered positions in "Account History" tab,
Corner: which corner should the numbers be displayed in,
Open_X_Offset: X distance for all labels (from the above set corner),
Open_Y_Offset: Y distance for all labels (from the above set corner),
The example above shows "ShowOpen" and "ShowFiltered" set to "true". No opened positions, closed daily positions adding to +1.3% and closed "filtered" (Last Week) positions adding to +3.6%.
Upper number is the % gain/loss for opened position on the current symbol,
Middle number is the % gain/loss for closed positions in current day on the current symbol,
Lower number is the % gain/loss for closed positions filtered in "Account History" tab (e.g. "All History" or "Last Week", etc.) on the current symbol.
Hope it's useful and, as always, suggestions welcomed.
Changelog: v2.0 - always shows daily change. fixed closed order filtering in "Account History" tab to not affect daily change. added "Show_Filtered" option. percentage changes include now swap and commissions. unified offset for all labels. tidied up the code and variables formatting. v1.0 - initial release.