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/ |
|
Close long/short http://www.molanis.com/forum/viewtopic.php?f=13&t=705 |
Page 1 of 1 |
Author: | david.paton [ Mon Nov 28, 2011 11:32 pm ] | ||
Post subject: | Close long/short | ||
I can't find anything in the manual about the close long/short icons. In my mol file, I thought I could get a long/short position to close if the price was below/above the 50 sma. How am I supposed to connect the close short/long icon as I have errors in my ea?
|
Author: | molanisfx [ Tue Nov 29, 2011 9:56 am ] |
Post subject: | Re: Close long/short |
First of all, those long names for eas may create issues. It's better to keep it simple. The CL and CS icons receive connections from TA, or AND, or OR; and connect to END. When you click on validate, big Xs are shown where errors are found. If you put the mouse coursor on top of the X it will tell you the error. In you expert advisor you did not define the settings for CL / CS - you need to tell the icon what pair should be used - just leave it in current symbol Also you are posting in the MT5 forum, you should review the set up and report in the MT4 forum if you have any issues |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |