New to programming. I have tried to utilize http://sufx.core.t3-ism.net to code a basic EA but it isn't working.
I would like to find the daily open price for each day
Any help appreciated
New to programming. I have tried to utilize http://sufx.core.t3-ism.net to code a basic EA but it isn't working.
I would like to find the daily open price for each day
Any help appreciated
Thank You for reply. Much appreciated.
As I am a beginner, I'd love to utilize the Builder on http://sufx.core.t3-ism.net as my programming stinks
From studying online, I believe there's another way to get the daily open price that's iOpen(NULL,PERIOD_D1,1) I think. Is this right?
The internet builder programmes MT4 to buy if a certain criteria is met.
I would like for my evaluation EA to buy if the daily open price increases by 15 pips. Do you know how to place this standards?
Originally Posted by ;
I don't have any experience with Builder so that I can't give any worthwhile advice specific to it. You have to capture the open price (iOpen) if the daily bar opens and compare the Bid/Ask to that price to determine if 15 pips motion has happened. Don't forget the exceptional calculation for 5 digit brokers if applicable.
IOpen(NULL,PERIOD_D1,1) will provide you yesterday's open. The current bar (current day) is pub 0, so 1 will provide you yesterday. That should work though, based on what you're doing.
Thanks guys. Would some of you have a test EA that would replie this so I can backtest please. (OR even something comparable so I can attempt to piece the code collectively )
that I would like the EA to capture the daily available price and then buy if the price is 15pips above the daily open
Much appreciated Sangmane. I check my results and will try this over the upcoming few days.
Are you experienced in writing EAs? (The reason I ask is, even if my testing is possitive, can you allow me to develop it futher please?)
That EA shouldn't be regarded as a real EA, it's only supposed to explain just how to get daily open price and the illuion of utilizing it.Originally Posted by ;
Hi sangmane,
I've copied the code to MT4 document but it doesn't seem to work in MT4 Strategy Tester.
Any ideas?
That I would like the EA to buy 15 pips from the available price of the current day and then to close the trade in end of day.
I expect to test this for a couple months in MT4 Strategy Tester so is it feasible to acquire the
daily available price for every day
open commerce 15 from daily available price
close commerce at conclusion of every day
Repeat for next day .
If anyone can assist me, this could be great as it would give me a starting point in MT4 Programming
https://www.forexforum.co.za/attachm...1560537807.mq4
hi ppper,
I save your document (test) to expert folder, run the egy tester. It works.
Under is the screenshot.
Hi sangmane,
A Lot of thanks. How do I operate the Strategy Tester.
I am picking the evaluation EA and certain dates and clicking begin but nothing appears to be happening
Would you tell me what span etc. you used, dates etc., Model alternative.