Page 1 of 2

Simple Stop&Reverse expert advisor

PostPosted: Tue Jun 05, 2012 3:33 pm
by Alexander.Gettinger
At the beginning the EA creates two pending orders:
1. BUYSTOP with the open price (Ask+SAR_Step/2) and stop level (Bid-SAR_Step/2)
2. SELLSTOP with the open price (Bid-SAR_Step/2) and stop level (Ask+SAR_Step/2).

After the opening of any order EA trailing its stop level with the pending order.

SimpleSAR_EA.PNG


Download:
SimpleSAR_EA.mq4
(4.51 KiB) Downloaded 2147 times


TS2/Lua version.
viewtopic.php?f=31&t=69115

Re: Simple Stop&Reverse expert advisor

PostPosted: Tue Feb 02, 2016 1:42 am
by fwcolbert
Hello Can this strategy have Maximum Open trades of 1?

Re: Simple Stop&Reverse expert advisor

PostPosted: Thu Feb 04, 2016 2:06 am
by Apprentice
Your request is added to the development list.

Re: Simple Stop&Reverse expert advisor

PostPosted: Thu Feb 14, 2019 10:19 pm
by Alexander.Gettinger
Please try this strategy:
SimpleSAR_EA2.mq4
(8.61 KiB) Downloaded 1109 times

Re: Simple Stop&Reverse expert advisor

PostPosted: Sun Feb 17, 2019 5:22 pm
by TheGMan
Impressive! G/U D1 Default

Re: Simple Stop&Reverse expert advisor

PostPosted: Sat Oct 19, 2019 11:30 am
by Crysita
Hello!

Would be possible to add to this EA: Trailing_Setp > FreezeLevel
where FreezeLevel =MarketInfo(Symbol(),MODE_FREEZELEVEL) ?

Thank you!

Re: Simple Stop&Reverse expert advisor

PostPosted: Sat Oct 26, 2019 3:29 pm
by rod777

Re: Simple Stop&Reverse expert advisor

PostPosted: Tue Oct 29, 2019 6:26 am
by Apprentice
Your request is added to the development list.
Development reference 256.

Re: Simple Stop&Reverse expert advisor

PostPosted: Thu Oct 31, 2019 6:35 am
by Apprentice
don't understand what needs to be done.
If Trailing_Setp > FreezeLevel then what?
if not Trailing_Setp > FreezeLevel then what?

Re: Simple Stop&Reverse expert advisor

PostPosted: Sat Nov 02, 2019 1:19 pm
by Crysita
Hi Apprendice!

Sorry I was not clear!

Once it is found out the FreezeLevel the Trailing step would be set to be this value plus some pips:

Trailing_Step=FreezeLevel+ NumPips (that could be an input)

otherwise do not trade.

I hope this clarify the request.

Thank you!