Forum

Partial Close Odd Lot

Hi, anyone could help me with my EA that close parial open trades when it reach a X% in profit and move SL to BE, but when lot is nod divisable by 2 like 0.03 its only moves to BE and don`t close partially. extern double Percent_Break = 1 ; // Risk Reward to close partial extern double

ObjectSet for multiples

hi, i'm newbie in mql4 and i'm looking how to do it ObjectSet("H1SR", OBJPROP_TIMEFRAMES, OBJ_PERIOD_M30|OBJ_PERIOD_H1 | OBJ_PERIOD_M15| OBJ_PERIOD_M5 | OBJ_PERIOD_M1); it will set any object name "H1SR" ve visible only in listed TFs, but the problem is i'll have to need more than one Trend Line to

ZeroDivide error

I know... has too much here but i can't find something that I looking for... if someone could help me.... I have a EA that will send Order to the market calculating SL size getting price base on HLINE using a Risk % extern bouble.... but i'm have problem.... sometimes SL its too big exceding risk %

Supply Demand Zones, modify please!

Hi Folks, Any good coder could help me setting a function thats allow me keep broeken old levels or not, in my concept changes of polarity almost 2x time could be a great entry! please anyone? Indicator: ii_supdem_v2.33.mq4 Image