Trading zones - momentum strategy

Custom MT4 expert advisors published here.

Moderator: admin

Re: Trading zones - momentum strategy

Postby Apprentice » Tue Dec 15, 2020 11:32 am

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


Re: Trading zones - momentum strategy

Postby Rocco_Rod » Thu Dec 17, 2020 12:55 am

Thanks Apprentice. The same last problem remains unsolved - see the attached :

The EA placed a sell order that is still not based on the opening price of the current M1 candle. Like previously, the EA took the entry price [6700] filled in on the setup panel [minus the Distance, i.e. 1] to place the sell order at 6699.9. But the opening price of the current M1 candle is 6708.9 so the sell order should instead have been placed at 6708.8.

Does this issue make sense to you ? Please let me know if there is something that i need to clarify for the correction to be carried out.

As far as i can see it is the last major pending item to address for the EA to work properly.

Cheers
Attachments
EA to adjust.png
Rocco_Rod
 
Posts: 27
Joined: Tue Apr 21, 2020 1:10 pm

Re: Trading zones - momentum strategy

Postby Apprentice » Fri Dec 18, 2020 5:16 am

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

Re: Trading zones - momentum strategy

Postby Apprentice » Tue Dec 22, 2020 4:41 am

Use 0 in the parameters for the price
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trading zones - momentum strategy

Postby Rocco_Rod » Wed Dec 23, 2020 2:01 am

Hello Apprentice,

It is done with 0 in the parameters - you may find attached the screenshot showing the outcome. There is still an issue to fix. I added 2 red lines so we may see more clearly that remaining problem : they cross each other at the point that is today's market opening (6652.2 level, M1 chart). Then the EA should place the sell order at : 6652.2 - distance = 6652.1 instead of 6617.3

I do not understand how the EA comes up with this 6617.3 level. Can you check what's wrong and correct the EA please ?

Cheers
Attachments
EA to adjust.png
Rocco_Rod
 
Posts: 27
Joined: Tue Apr 21, 2020 1:10 pm

Re: Trading zones - momentum strategy

Postby Apprentice » Wed Dec 23, 2020 3:16 am

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

Re: Trading zones - momentum strategy

Postby Rocco_Rod » Thu Dec 24, 2020 2:03 am

Thank you Apprentice. It would be great if Dev# 2519 could also address the following issue :
for long positions the EA places limit orders while stop orders are placed for short positions. Can you instead have both the long and short positions opened with stop orders (placed by the EA) please ?

Cheers and Merry Christmas
Attachments
EA to adjust.png
Rocco_Rod
 
Posts: 27
Joined: Tue Apr 21, 2020 1:10 pm

Re: Trading zones - momentum strategy

Postby Apprentice » Fri Dec 25, 2020 5:20 am

Trading zones - momentum strategy.mq4
(44.46 KiB) Downloaded 188 times

It always an opening of D1. This version uses the previous bar of the current timeframe.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Trading zones - momentum strategy

Postby optionhk » Sat Jan 02, 2021 3:19 pm

Rocco_Rod wrote:Thank you Apprentice.

It would enhance the value of the EA if the exit is done by selection of minutes distance or open of any of TFs greater than the current TF in which trade is entered.

Thank you..



We are almost done it seems. One issue remains : the EA still places the order based on the level of the 'entry price' input filled on the setup panel, which is not correct. Yet the EA should instead place the order at the level of the 'opening price of current M1 candle' minus or plus 'distance'.

- 'opening price of current M1 candle' minus 'distance' for a sell order
- 'opening price of current M1 candle' plus 'distance' for a buy order

reminder : Sell orders should be placed over the 'entry price' input filled on the setup panel. Buy orders should be placed under the 'entry price' input filled on the setup panel.
optionhk
 
Posts: 21
Joined: Sun Jan 29, 2017 4:57 am

PreviousNext

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: iseek22 and 26 guests