READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

My Martingale Ranko EA project

1 replies

Sunny

Subscriber, bbp_participant, community, 23 replies.

Visit profile

9 years ago #116659

Trade rule 1:

If the last bar was a bullish bar, enter a buy order when a new bar open.

IF Close > Open, Then Enter Market buy.

 

Trade rule 2:

When a new bar open, close last opened trade.

How?

 

The problem is, when rule1 place a trade and rule2 immediately close it when a new bar formed!

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #142680

Hello,

 

you can incorporate the “bars since order open” function to solve this. See the screenshot attached and let me know if you still have problems with it

0

Viewing 1 replies (of 1 total)