
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
Unfortunately, I cannot help you - I do not have access to the futures market.
Hi Mr. Vladimir.
The idea is the next:
With the Derivative indicator (code provided), An EA should be the next:
- ATR must be higher than n x (bid-ask). Suggest n = 3.
- If Derivative changes its mark from - to +, then buy.
- If Derivative changes its mark from + to -, then sell.
- Close with opposite signal.
- Money with fixed risk.
this conditions can be applied with any time.
I wish you can read this and I'm sure you'll make a great job, as you've shown to everyone.
Best regards.
If this is an indicator from CodeBase - give a link to CodeBase ...
If this is an indicator from CodeBase - give a link to CodeBase ...
It's an own indicator, but I couldn't charge it in an post. I'm new in this platform.
Is based on this one, but it has some changes: https://www.mql5.com/en/code/13902
*** ATR must be higher than n x (bid-ask). Suggest n = 3. ***
What does it mean? Who is 'n x'?
What does it mean? Who is 'n x'?
'x' means times, and n is a double type factor (just a number)
Sorry, I do not understand you. Let's do this: you have one more attempt to clearly and intelligibly explain your idea.
Sorry, I do not understand you. Let's do this: you have one more attempt to clearly and intelligibly explain your idea.
Ok, let's do it again
EA has 2 indicator: ATR and Derivative.
On the one hand, Derivative provides buy and sell trading signals. On the other hand, ATR works as a filter avoiding transactions when market has no trends.
There will be a Threshold defined as: Factor * (Bid - Ask). This Threshold will determinate if market has tendency or not.
I will use the subindex t to define actual bar.
Conditions for opening trades:
~ For BUY: derivative change mark from - to +.
~ For SELL: derivative change mark from + to -.
Conditions for closing trades:
- If ATR_t <= Threshold --> Do NOT close trades.
- If ATR_t > Threshold --> Can close trades as follow:
~ For BUY: derivative change mark from + to -.
~ For SELL: derivative change mark from - to +.
Other conditions
- Trading with fixed risk.
- Only 1 trade at a time.
***
There will be a Threshold defined as: Factor * (Bid - Ask) . This Threshold will determinate if market has tendency or not.
***
In other words, do you want to check the spread value for the current symbol?
In other words, do you want to check the spread value for the current symbol?