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 Mon May 06, 2024 12:27 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Can I use this Indicator
PostPosted: Thu Jan 16, 2014 12:07 am 
Offline

Joined: Thu Aug 12, 2010 7:49 am
Posts: 81
Hello Molanis,

I want to use an attached indicator to create an EA. but it was opening the trades randomly, it doesn't follows the indicator signal to open the trade.

I would like an EA to open buy when Aqua colour appeared and open sell if Magenta colour appeared.

Kindly let me know what's wrong with it and this indicator can it be use?

Thank you for your help!


Attachments:
Real-Cloud(Modified) EA.mol [7.39 KiB]
Downloaded 821 times
real-cloud(Modified).mq4 [2.15 KiB]
Downloaded 755 times
Top
 Profile  
 
 Post subject: Re: Can I use this Indicator
PostPosted: Thu Jan 16, 2014 10:21 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Just took a quick look at the code
#property indicator_color1 Magenta
#property indicator_color2 Aqua

Magenta seems to be mode 0, and Agua mode 1. I think that indicator uses two timeframes so you cannot backtest it. By the way is coded the only way to make sure you get the signals at the right point is to print out the indicator output. There are plenty of examples and info on how to do that here: viewtopic.php?f=2&t=162


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

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