Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
Harry Podany  
This is our first Expert Advisor in the Market Place.  I realized after version 1.0 was published and downloaded for Demo that it most likely cannot be tested in Strategy Tester because it is a trade manager of manually opened trades.  Since it doesn't open trades we are releasing version 1.1 which will open trades only when running in Strategy Tester so that the Moving Average Close functionality can be observed.  The trades are opened the same way they are closed when price closes beyond the selected Moving Average period for the chart time frame.  When price is above the MA then a buy order will run until price closes below the MA.  At that point the Buy will be closed and a Sell order will be opened.  Currently, the EA will open up to 20 trades in Strategy Tester over the date period tested.  Check out version 1.1 for the ability to Strategy Test this EA, Thank you, Harry @ Naam, Inc.
Lorraine Pierce  

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)

Harry Podany  
Lorraine Pierce:

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.

Harry Podany  
Lorraine Pierce:

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.
Harry Podany  
Harry Podany:

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.

31111777  

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,

File:
Capture.JPG  27 kb
Harry Podany  
31111777:

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.

Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti