molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Sun Apr 28, 2024 7:13 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: heiken ashi custom indicator
PostPosted: Thu Nov 24, 2011 8:43 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
I backtested it again and live tested it. It works fine.

EG 0 double303 (EURUSD,M1) 08:17:11 M-EURUSD *** EA created with Expert Advisor Visual Wizard 3.1 ***
CG 0 double303 (EURUSD,M1) 08:17:11 Broker =MetaQuotes Software Corp.
RL 0 double303 (EURUSD,M1) 08:17:11 Deposit currency =USD
PI 0 double303 (EURUSD,M1) 08:17:11 Trade server =MetaQuotes-Demo
LM 0 double303 (EURUSD,M1) 08:17:11 M-EURUSD *** EA starts running at: Server Time=2011.11.24 14:17:03 Terminal Time=2011.11.24 08:17:11
GS 0 double303 (EURUSD,M1) 08:17:11 M-EURUSD *** Running in a DEMO account ***
OJ 0 double303 (EURUSD,M1) 08:17:11 M-Account Equity=10842.5. Account Balance=10842.5. Account Free Margin = 10842.5. Account Leverage=100
CJ 0 double303 (EURUSD,M1) 08:17:11 M-EURUSD Warning: Could not get position volume. Assigning volume of 0
QI 0 double303 (EURUSD,M1) 08:17:11 M-Lot Information: Symbol=EURUSD. MIN LOT ALLOWED=0.01. MAX LOT ALLOWED=500. LOT SIZE IN BASE CURRENCY=100000
FG 0 double303 (EURUSD,M1) 08:17:11 M-Lot Information: Buying 1 lot in your Account is equivalent to buying 100000 of currency.
NJ 0 double303 (EURUSD,M1) 08:17:11 M-Lot Information: Buying the minimum lot size of 0.01 is equivalent to buying 1000 of currency.
PM 0 double303 (EURUSD,M1) 08:31:58 M-EURUSD Warning: Could not get position volume. Assigning volume of 0
GK 0 double303 (EURUSD,M1) 08:31:59 M-EURUSD Warning: Could not get position volume. Assigning volume of 0
FF 0 double303 (EURUSD,M1) 08:32:00 M-EURUSD Warning: Could not get position volume. Assigning volume of 0
CE 0 double303 (EURUSD,M1) 08:32:00 EURUSD volume=0 lotsize=0.01 sum=0.01 maxlotsize=1
KO 0 double303 (EURUSD,M1) 08:32:00 M-EURUSD Prepare BUY order EURUSD Buy Order.Price : Ask = 1.33856. Stoploss = 0.00000. Takeprofit = 0.00000 Lotsize=0.01000
GD 0 double303 (EURUSD,M1) 08:32:00 M-EURUSD triggered by if ( (iCustom_L3_Value[0] == 0.00000) && (iMACD_L2_Value[0] >= iMACD_R2_Value[0]) && (iMACD_L1_Value[0] > 0.00000) )
QH 0 double303 (EURUSD,M1) 08:32:02 M-EURUSD Position Executed Successfully! Position Type=POSITION_TYPE_BUY. Symbol=EURUSD
OE 0 double303 (EURUSD,M1) 08:32:02 M-EURUSD Price=1.33856 FillPrice=0.00000 Slippage=-1.33856
LH 0 double303 (EURUSD,M1) 08:32:02 M-EURUSD Account Equity=10842.5. Account Balance=10842.5. Account Free Margin = 10842.5
LD 0 double303 (EURUSD,M1) 08:32:03 M-EURUSD Warning: ARROW UP marker created at 1.33856 named Molanis1

Are you using win 7? If that is the case read this :http://www.molanis.com/forum/viewtopic.php?f=8&t=630&p=2333&hilit=win#p2333
You may have an old version of the indicator on your Windows Roaming directory. For win 7 is better to install mt5 in a directory that is not program files - this way the roaming won't affect you


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Thu Nov 24, 2011 12:17 pm 
Offline

Joined: Tue Jun 14, 2011 5:45 pm
Posts: 17
I didn't no - the Heiken Ashi indicator that i'm using is already installed as a custom indicator in MT5 when downloaded from http://www.metaquotes.net/en/metatrader5. Should I not use this indicator?

I'm using Windows Vista. Both Molanis EA visual wizard and the Metrader 5 programs are installed directly on my C drive - I've had problems in the past when MT5 and the Molanis software are in different folders, so I saved both in C:/Molanis.

Incidentally, when I attach the EA in MT5 the journal says "expert loaded successfully", but then I immediately get the alerts.

A couple of things which may be contributing to the problem:

a) When I install MT5 many of the files and folders have a 64 suffix - such as "metaeditor64" and "mql564". In each case I have deleted the '64' from the end (as previously advised)

b) The 'create expert advisor for MT5' button under the menu: trading diagram/generate MQL5 code does not work - the EA never appears in the MT5 list of EA's even if I refresh the list or re-start MT5. I have reported this problem before and was told to use the 'copy EA code to clipboard option' instead. I then simply create a new EA directly in MT5 and overwrite the code with that generated by the Molanis EA visual wizard.


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Fri Nov 25, 2011 7:12 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Sometimes the included and the downloaded are different. For example to get all signals from the awesome indicator, you need to download it. The ones that comes with mt won't work. Our response is for the indicator you posted. You may want to use that one, put it in the indicator's folder.

It's good to have the installation on C:

For a)
It's ok - that is the way to go

For b)
You should install mt5 in c: (not in program files) and it will allow you to use the buttons to create the ea instead of copying the code.
The other solution is to change the permission in the mt5 folder as shown in the faq


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Sat Nov 26, 2011 6:57 pm 
Offline

Joined: Tue Jun 14, 2011 5:45 pm
Posts: 17
I have fixed the issue with roaming files you get with Vista by reviewing the FAQ.
When MT5 is installed on C: the EA generation does not work.
When MT5 is installed on C:program files the EA code generation does work, however I still get the alerts:

"error creating handles for indicators - error 4802!!"


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Sun Nov 27, 2011 3:25 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Please review that you are using the right version of the indicator. (Easiest way is to use the one you posted)


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Sun Nov 27, 2011 5:12 pm 
Offline

Joined: Tue Jun 14, 2011 5:45 pm
Posts: 17
I am - to be certain I copied the indicator from this posting and pasted it over the indicator in MetaEditor. I then re-compiled the EA in EAVW to be sure it's using the correct Heiken Ashi


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Sun Nov 27, 2011 10:48 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Your issue is really odd. On our end it works fine (tested it in 2 machines)
Can you do one last thing? Get the indicator you posted, save it with a different name, and then use that name in the strategy builder.


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Mon Nov 28, 2011 11:23 am 
Offline

Joined: Tue Jun 14, 2011 5:45 pm
Posts: 17
Nope - same old problem.
To be honest, I don't expect to pay $99 for some software which, after hours and hours of fiddling around, still doesn't work. From my perspective, I dont see how you can claim this software is suitable for release. It would be quicker for me to learn MQL!
Refund please?


Top
 Profile  
 
 Post subject: Re: heiken ashi custom indicator
PostPosted: Mon Nov 28, 2011 1:34 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
I did some research on that error. Some users have reported the same issue in win 64 bits in the mql5 forum http://www.mql5.com/en/search#!keyword=4802 - that explains why it works fine in our testing (we do not have a 64 bits version to test). Initially it was a bug in mt5 but it was supposed to be fixed.
The solution seems to be:
-run the software using a especial parameter.
-or some other complex stuff
Please contact us by email to discuss about it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009