Forum

any suggestions for getting the required lot size for certain risk percentage ?

let say i have values stored in variables like this : Var1 = "EURUSD" ; Var2 = 1000 ; // Account Balance Var3 = 1.19410 ; //price that i am interested in to open a trade Var4= 1.19380 ; // Intended stoploss Var5= 2.0 ; // intended risk percentage var_lot; //

using .ini file to start the mt4 terminal with a specific account

hello i am using the start.ini file to open the mt4 with Different account details the content of the ini file is : ; common settings Login= 2102179493 Password=f5secbf EnableNews= false ; experts settings ExpertsEnable= true ExpertsDllImport= true ExpertsExpImport= true ExpertsTrades= true and then

Expressions are not allowed on the global scale

Hello there i am a total newbie in coding and i dont know anything so the thing is that i needed an indicator that can draw two horizontal lines at candle high and low , and the candle that lines are drawn at is 01:00 candle so i did this

Horizontal line indicator

Hello there, I am looking for a horizontal line indicator that draw two lines on candle high and candle low, It should draw lines only on 4:00 hour candle on h1 time frame. Meaning that it should only draw 1 horizontal line at candle high and one at candle low. If anybody have such indicators please