Moving Average Cross Close
30 USD
Demo downloaded:
386
Published:
4 November 2016
Current version:
1.2
Didn't find a suitable robot?
Order your own one
on Freelance
Go to Freelance
Order your own one
on Freelance
How to buy а trading robot or an indicator
Run your EA on
virtual hosting
virtual hosting
Test аn indicator/trading robot before buying
Want to earn in the Market?
How to present a product for a sell-through
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

Hello,
1. Do you know if this will work on offline renko blocks?
2. When NOT in strategy tester, does this EA open trades? (I really don't want that...just want it to close)
Hello,
1. Do you know if this will work on offline renko blocks?
2. When NOT in strategy tester, does this EA open trades? (I really don't want that...just want it to close)
Correct, this EA only opens trades in Strategy Tester. Otherwise there is no way to test the demo version since it is a trade manager that only closes trades.
So at least it can be seen and tested for how it closes on a price cross of moving average against the trade direction at the close of a bar.
Hello,
1. Do you know if this will work on offline renko blocks?
2. When NOT in strategy tester, does this EA open trades? (I really don't want that...just want it to close)
Hi Lorraine, sorry I didn't respond earlier to your first question about whether the EA would work with offline Renko Blocks. I am not aware of renko blocks so would have to direct the question to MetaTrader. I will check in with them and get back to you, thanks for your interest.
Hi Lorraine, sorry I didn't respond earlier to your first question about whether the EA would work with offline Renko Blocks. I am not aware of renko blocks so would have to direct the question to MetaTrader. I will check in with them and get back to you, thanks for your interest.
Hi Lorraine,
I did some research on Renko Blocks, and found that most Meta-trader EA's and indicators work on offline Renko Blocks. Since this is a meta-trader EA, it should work.
As I understood, EA closes position at the open of new candlestick comparing to MA value of new candlestick (see picture attached).
Can you modify EA to close position at the open of new candlestick comparing to MA value of previous candlestick?
So per my attached picture, it would not close at this position.
I think this is room for improvement because it is the critical need of this EA performance based on most trader's point of view.
Thanks for your support,
As I understood, EA closes position at the open of new candlestick comparing to MA value of new candlestick (see picture attached).
Can you modify EA to close position at the open of new candlestick comparing to MA value of previous candlestick?
So per my attached picture, it would not close at this position.
I think this is room for improvement because it is the critical need of this EA performance based on most trader's point of view.
Thanks for your support,
The MA Cross Close is coded to close a position based on the close price of the closed candle when it when it crosses above (sell) or below (buy) the MA price at that moment in time.
In otherwords, at the time a candle closes, it's close price is compared to the MA price at that instant.
From your diagram it does look like the close of the close (previous) candle might be slightly above the MA shown on the chart
and therefore should not have closed if that were the case. What we don't see is the EA's calculation of what the MA value actually was at that moment.
Is the MA displayed on the chart defined to be the same as the MA period and method of the EA?
Also, you can look in the Experts journal file for the specific output log from the EA which may identify the close price and MA price.
If it does not, I can add that to the log output so there will be no question. The Expert log can be found in real time under the Experts Terminal tab (Ctrl-T).
Or the file can be opened from Files->Open Data Folder, from the Data Folder->MQL4->Logs for the date you are looking.
Only the past 4 or 5 days logs are kept in this folder. If there are too many log lines being written I can update the EA to not be as verbose in its output.
I will look further in to this and update the log written at close to indicate the MA price and the candle close price when the bar closes.
and release a new version. Then there will be no question as to those values as seen by the EA at the time of the candle close.
Thank you.