- Close position at specific time
- Buy/sell EAs and indicators
- Metatrader 4.0 build 840 won't work with Wine
Is it possible to have an EA that requests specific input parameters on a daily basis at a certain time in code?
This whole automation thing has gone and passed you by hasn't it? ;-)
CB
This whole automation thing has gone and passed you by hasn't it? ;-)
CB
My EA needs to find support and resistance levels, it can't do that in code :)
CONSIDER THIS APPROACH:
double sup1, sup2, res1,res2;
int start()
{
...
...
...
sup1 = GlobalVariableGet("sup1");
sup2 = GlobalVariableGet("sup2");
res1 = GlobalVariableGet("sup1");
res2 = GlobalVariableGet("sup2");
...
...
}
NOW IN ORDER TO FEED VALUES TO THE EA, YOU SEEK "TOOLS->GLOBAL VARIABLES" IN THE TERMINAL, OR JUST HIT F3 KEY. ADD THE FIELDS "sup1", "sup2", ... to the "global variables" list, and corresponding values for support/resistance. The EA grabs them immediately at each tick. You can change these values anytime (or at a certain time).

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use