Daily_Open

Custom MT4 expert advisors published here.

Moderator: admin

Daily_Open

Postby Apprentice » Thu Aug 23, 2018 4:37 am

eurusd-h1-forex-capital-markets.png

TS2/Lua version.
viewtopic.php?f=17&t=66134
Daily_Open.mq4
(3.87 KiB) Downloaded 821 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Daily_Open

Postby easytrading » Mon Nov 22, 2021 5:48 pm

Hello Apprentice,

If you please, to code an MT4 EA based on this Daily_open line indicator to open a position each time the price cross 5 pips above or below the Daily open price line as below:

Buy above 5 pips from the Daily price line.
Sell below 5 pips from the Daily price line.

and if the price returned on the opposite direction by 5 pips from Daily open after opening a position, first close the previous position and then open immediately another position in that direction. so that to keep only one position opened.and when hitting the target restart the EA when the same conditions met again ( when the price cross 5 pips above or below the Daily open line for the same day.
and to close the open position in the end of the Day . and reopen new position according to the new Daily open line .

using these user parameters:

position lot size: ....lots
first T/p : .... pips
second T/P : .... pips

Thank you with my highly appreciation.
easytrading
FXCodeBase: Initiate
 
Posts: 154
Joined: Thu Sep 11, 2014 5:23 pm

Re: Daily_Open

Postby Apprentice » Thu Nov 25, 2021 3:40 am

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



Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot] and 15 guests