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/ |
|
Multiple timeframes http://www.molanis.com/forum/viewtopic.php?f=3&t=6067 |
Page 1 of 1 |
Author: | RobinB [ Mon Aug 25, 2014 7:21 pm ] |
Post subject: | Multiple timeframes |
I'm using the H1 and I want the ea to buy if the close of the H1 is less than 70% of the last weeks high-low. I can't get this to work. (iClose(Symbol(),0,1)<(iLow(Symbol(),PERIOD_W1,1)+((iHigh(Symbol(),PERIOD_W1,1)-iLow(Symbol(),PERIOD_W1,1))*0.70))) |
Author: | molanisfx [ Tue Aug 26, 2014 8:23 pm ] |
Post subject: | Re: Multiple timeframes |
Make sure you : -attach it to the lower time frame -have data in those time frames (especially during backtesting otherwise the price data will be treated as zero) -Test it live and print out to the logs each part ( use the mql+ icon) |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |