| / | Forum |
|
Rvtssmith
2007.05.15 01:06
Hi all,
As you can guess I am a newby on here and have a couple of questions. Am I right in thinking that my indicator works on bars: int counted_bars=IndicatorCounted(); //---- if (counted_bars < 0) return (-1); if (counted_bars > 0) counted_bars--; int limit = Bars-counted_bars; for (int i=0; i < limit; i++) and an EA works on ticks. If that is the case which I think it is .. How can I change my EA to Trade on Bars and not ticks. (I'm tring to check the accuracy of my indicator without taking time off work lol.) Any help greatly appreciated. Russ |
|
Jury Session Record of the 17th of December 2007 At the session, the Jury discussed disqualification of some Participants. |
33783 |
Rosh
2007.05.15 10:41
See documentation, please. http://docs.mql4.com/runtime/start
|
|
Heino
2007.05.15 15:29
You can also use for example High[1] than you will only get data that has been finished
and not based of ticks, also read about the shift Parameter need by lot of functions.
|