| / | Forum |
|
Mehmet
2008.06.17 22:48
i have a sample indicators //+------------------------------------------------------------------+ #property indicator_chart_window I have a EA. //+------------------------------------------------------------------+ //+------------------------------------------------------------------+
i want to using indicator in my EA. questions 1. How do change of codes Indicators. 2. How do change of codes Expert Advisor. Thank You. |
|
An alternative use of the Sleep() function in the realization of pauses between EA's actions is proposed. The approach under consideration allows a smart use of machine time. |
|
DxdCn
2008.06.18 05:10
1 since MACD is indicators inside MT, so you can use these inside EA directory: double rest=CD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0); 2 double deger=iCustom(NULL, 0, "IndicatorNew",13,1,0); this is errors for this!!!!!, since parameter 13 has no menaing, parameter 1 is for one of databuffer, but no any buffer and no any parameter exist in your indicator "IndicatorNew", you only have a indicator file, but no any indicator data inside it, you should reference MTedit's help, and MQL4 language, and a lot of sample file on internet, atleast you shoul learn the samples bringed by MTself and try to modified them. these two files only a sketch of file format of indicator and EA, but no useful contents in them. |