Forum

Question about rollover carry trade

Hello, i have an idea but im confused, Let say the rollover rate for EURUSD is 0.5 pip per day (0.00005) for SHORT position My account balance is in EUR and i have 100000€ if i open a short trade for 1 lot (100000€) @ 1.1550 (or any other price) i will never get liquidated and i will earn 0.5 pips

Password for stopping the operation of an EA???

Hello, I want mql4 code to set and password to protect my EA from stopping,if someone want to stop the running of EA, i want a windows which want user password. if the password match then it stop work otherwise not. Please help me to give such code

problem with normalizedouble?

i have a problem with normalizedouble in csv file : 226.82;-3.26;- 9.890000000000001 226.64;-3.34;-10.13 226.7;-3.31;-10.05 226.79;-3.28;-9.94 226.72;-3.31;-10.03 226.44;-3.42;-10.15 226.78;-3.28;-9. 539999999999999 227.45;-2.99;-9. 109999999999999 227.29;-3.06;-9. 220000000000001 WTF..... why

one question to Whroeder and gumrai

is an easy question,it is possible???to make money with scalping if we pay de spread(we cannot place limit order inside the bid ask spread) without martingale??? many years of trading behind me and i dont think is possible! thanks

assign 5 differents order open price to 5 local variables

Hello , I have a problem to assign values to different local variable , I have 5 position open at different prices but my script gives the same value to 5 different variables Where is the problem??? thank you for any help

please,will someone have better way to do this -->Search last closed price, if last trade was a winning one

sometime last closed trade wasn\'t found?????? bool GetLastCloseTradeProfit( double &lastClosedPrice, double &lastClosedProfit) { datetime lastClosedTime = 0 ; lastClosedProfit= 0.0 ; //-- Loop history orders for ( int pos= OrdersHistoryTotal () - 1 ;pos >= 0 ; pos--) { if (

please,i need help for initialisation problem

This simple code,add 10 to initial equity value (1000) each second until it reach 1200,now what i want to do if possible?, is fixing value to 1200 . after if my metatrder4 shutdown and restart,de counting process must begin from 1200 and not the old value of 1000. thank for any help

please,can i put several OR "||" in one operator?

this is correct, or not??????? /-------------------------------------------------------------------------------------------------------------------------------------------------------- //+------------------------------------------------------------------+ //| expert start function |

please,what is wrong in my code??????,its for lot size calculation

hello,thank you for any help sometime the calculation function go wrong,whats happens???? last bug is this one, my accountequity is "<10000.00&&>9900.00" my ea must open position of 0.2 lot,but it open position of 0.1 lot ??????? here is the code

Hello! Need some help please

what happens in my code,its simple code for modify lot size,i give you 1 example if account balance is <10000 lot size = 0.1,then if account balance < 9900 lot size=0.2 etc etc...... thank you //------------------------------------------------------------------------------ // switch.mq4