- Search Forex Factory
- 30 Results
- Siro replied Jun 17, 2008
i don't know much about eSignal programming but as far as i see it's a simple variable in your code. in my code the double SMA[] was a buffer (array). if you don't know much amout mql programming i suggest to download and read this tutorial for ...
- Siro replied Jun 17, 2008
#property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 Green extern int period=5; double SMA[]; double sum=0; //+------------------------------------------------------------------+ //| Custom indicator ...
- Siro replied Jun 16, 2008
i think this will satisfy your needs.
- Siro replied Jun 16, 2008
1: it's impossible. 2: nah, it is impossible too if we could change a repainting indicator to a not repainting one in such a way that it produces the same alerts and values on current bars we would be millionaires in half a week. if you want to do ...
- Siro replied Jun 16, 2008
#property indicator_chart_window string ver="SCANNER DOJI "; //---- input parameters extern bool UseAlert = 1;//***** // -----------DICHIARAZIONE VARIABILI GENERICHE-------------------------- string nome_fin; //nome finestra ...
- Siro replied Jun 16, 2008
i don't know. i tryed a few things in the past to return an array with an mql function but had no luck.
- Siro replied Jun 16, 2008
#property indicator_chart_window string ver="SCANNER DOJI "; //---- input parameters extern bool UseAlert = 1;//***** // -----------DICHIARAZIONE VARIABILI GENERICHE-------------------------- string nome_fin; //nome finestra ...
- Siro replied Jun 16, 2008
int start() { int randominput = 3; double IBinfo[3]={11,12,13}; MyFunc(randominput,IBinfo); Comment(IBinfo[0]+" "+IBinfo[1]+" "+IBinfo[2]); return(0); } void MyFunc(int randominput,double &an_array[]) { for (int i=0; i<randominput; i++) { ...
- Siro replied Jun 15, 2008
i finished the indi and i hope it's bug free.
- Siro replied Jun 15, 2008
last year high,low,close i think. i'll try to make one for you when i will get some time.
- Siro replied Jun 15, 2008
the 3rd coordinate only moves if the ZZ last leg moves, so i don't know what's the problem exactly. anyway here is a new version, you can set the color too.
- Siro replied Jun 15, 2008
int start() { //---- ObjectCreate("Arrow",OBJ_ARROW, 0, Time[0], Low[0]); //---- return(0); } but i don't know why do you want to write it as a script. it doesn't make any sense. use custom indicators instead.
- Siro replied Jun 15, 2008
try this. the values remain the same until the last ZZ leg moves. i added some custom values and descriptions to it too. i think it's working properly. edit:new version #7
- Siro replied Jun 15, 2008
check this. i wrote a loop that searches for the 3rd zigzag high/low, becuase it needs for the Fibo Expansion. it's position is stored in the pos3 variable. so you can use Time[pos3] and Low[pos3]/High[pos3] for the 1st coordinate in the ...
- Siro replied Jun 14, 2008
you have to download the original Center of Gravity indicator (not the MTF version). then you have to modify the MTF version's code. to do that right click on the indicator in the Navigator tab and select modify. in the code you have to search for a ...
- Siro replied Jun 14, 2008
here they are. maybe tomorrow or next week i will have some time to make an alert indicator, but i should know what correlation does he mean exactly.
- Siro replied Jun 14, 2008
what do you mean by correlates exactly? price reaches an RSI level and BB%b is above 100 or below 0?
- Siro replied Jun 14, 2008
the problem is, that the indicator calculates the pivots based on the daily candles, so the high,low, close values and therefore the pivots will be always the same. you need a loop, that searches every day for the selected period's high, low and ...
- Siro replied Jun 14, 2008
i made a small modification in one of my indicators. it shows the Open,Close,High,Low of the selected timeframe. (you can turn any of them off). set the TimeFrame to 1440 and shift to 1, so it will display the previous day's data.