Reply

algowizard – closed P/L in pips function

2 replies

billoc

Subscriber, bbp_participant, community, 2 replies.

Visit profile

3 years ago #259193

hi

i am trying to use the ‘closed P/L in pips’ function – and it seems to be not working correctly. has anyone else had issue with this

thanks

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #259229

Hello,

it works correctly. You need to refer to the value using a correct magic number. See the example attached

Attachments:
You must be logged in to view attached files.

0

Morningbull

Customer, bbp_participant, community, 40 replies.

Visit profile

3 years ago #268282

Hello tomas,

 

I already wrote a separate post about ‘closed P/L in pips’ but I didn’t receive answer yet; anyway, I converted in mq5 your example but it give errors during compilation (see capture attached).

I want also ask you help regarding the use of this function: my intention is to open a second order long if the previous has been closed negative, I added a further condition:

IF Market Position is Flat AND variable1 < 0, open Enter at Market

Unfortunately it is not working as expected, find your example with my modifications in attachment.

Coud you please help me to handle this function?

 

 

 

Attachments:
You must be logged in to view attached files.

0

Viewing 2 replies - 1 through 2 (of 2 total)