
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Implementing EA
Hi folks,
I've got a lot of private messages asking me for helping with some pieces of code.
Here you can post your questions related to MQL4, and I'll do my best to answer them.How do you implement an EA program for testing at the Strategic Tester? Please give me an exact step by step advice from a written program in a word document to a functional program in a Strategic Tester. Thank you.
I did very small EAs for RSTL and Supertrend crossing alert.
First one is working on current bar.
Second one is working on optional bar (current, previous or any).
Alerts only.
Sorry bad coding: we did not study EAs yet.
And may be I did some mistake ...
but I tested and it works.Sorry but i cannot attach ''cross'' and cross1 to my charts.
it is an indicator and not EA, isnt' it?
mny tks in advance
It is EA. Use one of it (do not attach both).
But it is not trading (alarm only).
I want to note that I understand this thread as the samples for the most often useful pieces of the code. I did not develop anything.
Great Work!
I did very small EAs for RSTL and Supertrend crossing alert.
First one is working on current bar.
Second one is working on optional bar (current, previous or any).
Alerts only.
Sorry bad coding: we did not study EAs yet.
And may be I did some mistake ...
but I tested and it works.New developer is coming
GREAT WORK!
I'm so happy for you, KEEP GOING BROTHER!
If not, it's not!
Sorry but i cannot attach ''cross'' and cross1 to my charts.
it is an indicator and not EA, isnt' it?
mny tks in advanceHi hua,
There's a simple method to know which is an Indicator and which is an EA.
Open the source file and if you find one of these two lines it's an indicator:
#property indicator_chart_window
#property indicator_separate_window
If not, it's not.
Hi hua,
There's a simple method to know which is an Indicator and which is an EA.
Open the source file and if you find one of these two lines it's an indicator:
#property indicator_chart_window
#property indicator_separate_window
If not, it's not.tks once more indeed. But if i am allowed to say that any alerts as EA doesnt make any sense due to the fact we hv to use only one EA. So its much better on an indicator basis. Dont yu think? all the best.
PS: what we shall do to an indicator alert to alarm only '' ONE TIME''?
TKS
Sorry we do not understand what "one time" is.
What does is mean?
Sorry we do not understand what "one time" is. What does is mean?
To sounds/alarm only once (only one time), those using Alpari's platforma, can
realize that dont need continuous alerts (when the event happen), since Alpari has a window listing all alerts, so yu can see it at any time. tks
It was one time alert only when crossing.
If two lines are crossed two times the alert will be two times as well.
Or use cross1 EA and select Bar 1 (instead of 0).
Wait!
Hi,
can you explain, how to work with the backtesting ?
what is needed to do for preparing our EA for backtesting ?
how is backtesting works (every tick, open price ...) ?
thanks.Hi ferman,
Could you wait for backtesting lesson very soon!
I hope you red the previous lessons?