molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming http://www.molanis.com/forum/ |
|
Can I use this Indicator http://www.molanis.com/forum/viewtopic.php?f=2&t=6006 |
Page 1 of 1 |
Author: | kwng [ Thu Jan 16, 2014 12:07 am ] | |||
Post subject: | Can I use this Indicator | |||
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!
|
Author: | molanisfx [ Thu Jan 16, 2014 10:21 am ] |
Post subject: | Re: Can I use this Indicator |
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 |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |