Forum

Load CiMA for each timeframes on the same current window

Hi, #property indicator_chart_window #property indicator_buffers 21 #property indicator_plots 21 //--- input parameters input int InpMaPeriod= 13 ; input int InpMaShift= 0 ; input ENUM_MA_METHOD InpMaMethod= MODE_SMA ; input ENUM_APPLIED_PRICE InpAppliedPrice= PRICE_CLOSE ; #include

Using N timeframes inside class

Hi forum, I'm building a new Indicator that shoud work on different pre-selected timeframes. What is the best way to manage the selection of the timeframes for the users? after the selection inside the class I plan to have an array m_tfs[] that stores the selected timeframes to work with thanks

Sort array by value

Hi guys, I need to sort an array by values... or at least find the 2 minimun/maximun values of a range of data... I have the array (series array) daLow[100] correctly populated with the last 100 Low. This is what I have done so far: int iLowest1, iLowest2, iHighest1, iHighest2; iLowest1 =

Different price size

Hi there, why if double getDigits() { return MarketInfo ( Symbol (), MODE_DIGITS ); } getDigits() = 5 then int start() { double prevClose = Close [ 1 ]; double actOpen = Open [ 0 ]; gapSize = ( actOpen - prevClose ); Print ( "Gap detect - Size: " , gapSize ); }

get manual closing order event

Hi all, I need to decrease a variable every time I close an order manually.. the variable to decrease is the number_of_open_buy_order or number_of_open_sell_order I'm under mql4, any help

shift box on side of a candle

Hi all, I need to shift a box object to be drawn starting from the left-side of the candle, not from the center.. is there a function to do this? Thanks

Problems with strategy tester

Hi, I have some problems with my strategy tester .. I don't know why every time I run the tester only few day is ccalculated. For example: I set the usage from 01/01/2011 to 31/12/2011 the tester calculate only 01/01/11-05/01/11 or: I set usage from 01/01/2012 to 31/03/2012 the tester calculate only