MHP Strategy Request

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

MHP Strategy Request

Postby mybrainhertz » Sun Dec 11, 2011 7:38 pm

Martingale Hedge Pivot Strategy

I would like to request the following strategy

1. A sell order automatically opens on R1 (or a buy order on S1 but I will only explain from hereon for the R1 side only, otherwise this will be very confusing)

2. A Limit order and Stop order can be assigned to any value by the trader along with provision for trailing Stop.

3. A 24 hour time clock would also be useful.

4. For ease of calculation we will assume a Limit of 30 and a hard stop of 30 and a position size of 1 micro lot and we are going short.

5. The trade will have 1 of 2 results, it will win or it will loose.

6. If it wins the trade closes and the sequence ends and all the orders are removed for the day until the pivots change.

7. If the trade looses then a second trade triggers in the direction of the loss at the exact point of the stop for increased position size (usually twice or triple the first) so say 2 micro lots. So the first position was short therefore the second is now long and it will have the same stop and limit of 30 pips.

8. Once again the trade will win or loose, if it wins, the sequence finishes and orders are removed for the day. If it looses the sequence recommences again with a Short increased position size, say 4 micro lots.

9. The sequence continues for 4 cycles and then stops if the trade is still not profitable.

10. A reverse command would also be handy in case you wanted to go long at R1 instead of short.

11. This all goes in reverse if you you trigger off the S1 pivot.

12. Each order has to be placed one at a time with each new trade. Placing all orders simultaneously will trigger them incorrectly.

13. You can select if you want to Trigger off R1, R2, R3 or R4 pivots or S1,S2, S3 and S4.

14. It automatically recommences the following day with the new pivots but the start time can be altered by the 24 hour time clock.

Thanks and regards

Mybrainhertz
mybrainhertz
 
Posts: 7
Joined: Mon Dec 05, 2011 11:07 pm

Re: MHP Strategy Request

Postby Apprentice » Mon Dec 12, 2011 6:10 pm

Your request is added to the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36476
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: MHP Strategy Request

Postby Alexander.Gettinger » Fri Feb 01, 2019 9:06 pm

Please try this strategy:
MHP_strategy.lua
(7.38 KiB) Downloaded 295 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Google [Bot] and 23 guests