BREAKEVEN_PRICE

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

BREAKEVEN_PRICE

Postby Apprentice » Wed Nov 13, 2019 2:05 pm

NAS100 H1 (11-13-2019 1813).png

Will draw four lines.
1. Breakeven level for the Long positions
2. Breakeven level for the Short positions
3. Breakeven level for the All positions
4. Margin call level
(Simplified method, will only work on account with trades in one instrument.)
Will take into account Marker and Entry positions.
BREAKEVEN_PRICE.lua
(8.49 KiB) Downloaded 228 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27514
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BREAKEVEN_PRICE

Postby Silverthorn » Wed Sep 16, 2020 9:58 pm

Hi Apprentice. Could you please check this indicator for me. I believe it is plotting the Margin Liquidation line for long positions. (Plots the same long or short)
User avatar
Silverthorn
 
Posts: 69
Joined: Fri Nov 08, 2013 12:29 am
Location: Brisbane Australia

Re: BREAKEVEN_PRICE

Postby Apprentice » Thu Sep 17, 2020 2:08 am

Your request is added to the development list.
Development reference 2043.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27514
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BREAKEVEN_PRICE

Postby Apprentice » Fri Sep 18, 2020 7:32 am

The margin call level can't be separated for long and short.
It's a level where all positions will be closed - long and short
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27514
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BREAKEVEN_PRICE

Postby Silverthorn » Sun Sep 20, 2020 8:54 pm

Hi Apprentice. I understand that but for a short position the Margin Liquidation line if plotted on the profit side of the entry position not on the loss side as it should be.
User avatar
Silverthorn
 
Posts: 69
Joined: Fri Nov 08, 2013 12:29 am
Location: Brisbane Australia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 7 guests