Forum

look for indicator can calculate win lose rate on the chart

hello i look for indicator which can calculate profit loss calculation on the chart with specific term like 1 month. for instance i load 2 MA period as 10 , 20 then if two MA cross each other i Buy or Sell and exit trade as when reverse Buy Sell signal appear and want to set trading term as 1 month

break out signal indicator help pls

hello i have a indicator which check break out price line. here we can see Red line is sell line and Blue is buy line. when price break Red sell line i want to get alert vice versa Blue buy line. but i want to wait upto 2 bars until Red or Blue signal bar break out signal bar. for instance, below

alert when price bar crossing specific price line

Hi! i found a indicator script on the net which suit for me . this indicator draw and alert when crossing specific above and below line. But one lack of function is when break out line it alert but there is no limit bar . i want to set 5 bars so if i set 5 bars i want to receive alert in 5 bars only

how to find Arrow on the chart if Object List empty?

i want to identify arrow on the chart whether Up Arrow or Down Arrow but when i test with iCustom i couldn't see 'arrow' object in Object List even though arrow already populated on the chart. i tried iCustom to get allocated buffer for find value in HalfTrend TT indicator which i attached file in

how to set default terminal ?

hi.. i installed several metatrader broker software like Fxtm , Ava, Icmarket . currently fxtm is my default set for open mq4 so whenever i click mq4 script and compile it save under fxtm subdirectory but i want to change Ava. how to change ? thanks

how to add text label to rectangle box edge?

hello i want to add specific text label to rectangle box edge . this is part of source code what i found and want to add specific text like "Support Line". ObjectCreate(s, OBJ_RECTANGLE ,0,0,0,0,0); ObjectSet(s,OBJPROP_TIME1,t1); ObjectSet(s,OBJPROP_PRICE1,BuferDn1[i]);

how can i fix array out of range error?

i have a angle checking mql4 source but it have array out of range error. i can't figure out what is problem. i can guess problem is come from loop but can't fix error. i did several modification like i+1 or so where possibly can fix error but no lucky. i guessing error come around here MALast=

array out of range error

hi... i have encountered some array out of range error. i tried to figure out where is problem but it difficult figure out . here is part of source code i can see array out of range error happened in this line. if anyone enlighten me much appreciate! for (counter = i; counter <= i + 2 ;

iCustom not working.

hello. actually i'm almost new to mql4 programming . i have a angle indicator which is using MA and inside other EA i want to call this angle indicator and want to read angle value so i tried iCustom but every i tried all failed. following is ma_angle source. and this is icustom code what i tried

webrequest remote file check error

hello i want to check url existence. but even though url exist it return error. i really can't figure out what wrong with it..i think it correct code. but still return error. anyone guide me much appreciate thanks! string cookie= NULL ,headers; char post[],result[]; int res; string