Forum

calculating lenght of a horizintal line (t2 - t1 )

hi there i need a code that calculates a lines length ( t2 - t1 ) and if it is bigger that t1 then alert ( t1 = time of first candle , t2 = time of second candle ) my indicator draws it in every candle but it may fail due to some calculations and wont continue to next candle but next candle also

transparent rectangle prop ?

hi i want to add transparency to my rectangles in mql4 , which code should i use

Help! Alerts wont activate on time

hey guys this is a simple sup/dem indicator which i try to add alerts to it using rectangle obj count method for watching over newly created zones or any deleted zones sometimes it activates on time and sometimes it wont activate at all or alerts late , what am i doing wrong ? can anyone help me on

what is your TP (take profit) strategy

hi internet is full of best entry strategies , but no one talks about setting TP points , what is best way to set take profit point ? latest swing points ? R/R ? pivots ? how you identify the retest so u dont break even fast ? do you use higher time frames for exit points ? but the problem is : i

simple explaination for TRAILING STEP pls (example included)

hi i know this is a very common question , " what is trailing step ? " i have also done many research about it but if you google it you will see that every resource explained it very complicated for newbie'z may i ask you please imagine example below and explain its function with this simple example

Using an embed html code (online radio) in an indicator

hey there this is an embed code from radio.com which i want to add it to my MT4 as an indicator i have a very basic mql coding knowledge , is there anyone who can help me with this ? this is the code which is available for free @ radio.com website : <script>(function(d, s){if(!window.rel){s =

extra mouse buttons as hotkey in mt4

hey since i am trading in lower time frames like 1 min and 5 min sometimes there is a quick action needed like i'm trying to set SL to BE ( stop loss to break even point ) asap i have the script and can apply it to any hotkey of keyboard but extra mouse buttons available will make it faster thnaks