Forum

ima Shift -40 possible? CopyBuffer Error...?

Hello, i'am using a Moving Average; MA1_HANDLE = iMA ( Symbol (), Period (), 50 , - 40 , MODE_SMA , PRICE_HIGH ); // Gelb if (!MA1_HANDLE){ Print ( "MA1_HANDLE = " ,MA1_HANDLE, " error = " , GetLastError ()); ResetLastError (); } else { ResetLastError (); if ( CopyBuffer (MA1_HANDLE, 0 , 0

heiken ashi 0 or 1 result

hello, i found http://finance.dir.groups.yahoo.com/group/TOS_thinkscript/message/483 i have the same problem, how ca i get a 0 or 1 signal from heiken ashi

example for ChartIndicatorAdd ???

does anybody knows the use of ChartIndicatorAdd ? an example maybe, can't find something ;(

write label in subwindow

hello... i create a handle: h_hashi = iCustom ( Symbol (), PERIOD_H1 , "heiken_ashi_tf" ); an add it to chart ChartIndicatorAdd ( 0 , 2 ,h_hashi); // in Subwindow 2 how can i write a label that is in 2

question stochastic buffer

hello... iam using mt5 build478... i have the following question, in the docs https://www.mql5.com/en/docs/indicators/istochastic is written for stochastic: The buffer numbers: 0 - MAIN_LINE, 1 - SIGNAL_LINE https://www.mql5.com/en/articles/130 is using buffer 1 and buffer 2, not buffer 0 and buffer

Is it possible, to get data from function() in an include file from a indicator???

Hello, iam writing an EA and i use a custom indicator , that custom indicator script includes another file #include <SignMod.mqh> In that file is a function, called: int getSignal(int cVal); Normally the indicator calls the function and works with return value from getSignal(). How can i use this

Call multiple functions in a while? (MQL5)

Hello @ all... I have a for while, 0-19 steps an i have 20 functions to call: getDate_1(); .... to ........ getDate_20(); How can i call that with 1 Call() in that while? // Daten for(int sc=1; sc<21; sc++){ // Signal test = "getDate_"+sc+"()"; how i do the call??? } thanks for your help ;)