How can I create a random number generator between 1 and 2? I have one weird but cool trading strategy. If I can make this random generator I can make a cool trading EA
Posts made by RakeshR
-
Random number generator between 1 and 2posted in Questions & Answers
-
RE: how to create a possible take profit lineposted in Questions & Answers
yes combined tp of all open trades. i have got combined tp too but not sure how to draw line at possible take profit.

I have seen many other eas which do this easily.. if this forum allow me to add an ea here I can post it here. how it should be .. its not my ea. i was just searching for an example and I found it on some telegram channel
-
how to create a possible take profit lineposted in Questions & Answers
I have a martingale ea which opens multiple orders and but it doesn't show overall group trades take profit line which we see in chart. how I can I show it?
-
RE: Pls help me, the remote destop window update so i want the ea run as the previous latest value wasposted in Questions & Answers
thanks bro will contact you here again if help needed.
-
RE: Pls help me, the remote destop window update so i want the ea run as the previous latest value wasposted in Questions & Answers
i guess i am not explaining well.. problem is not about getting value from EA input values. What I am doing is creating martingale orders from dynamic distance.. so these buy and sell dynamic distance are increases automatically by the time as market goes down or up very much. this distances are stored in "variables" so when I restart terminal it get reset. I want to keep those "variables"
-
RE: Pls help me, the remote destop window update so i want the ea run as the previous latest value wasposted in Questions & Answers
if i get it from global variable then it will be not correct.. i need to get variable saved from current orders and then re use it. i cant get it from ea inputs
-
Save variable which stay after terminal restartsposted in Questions & Answers
I have some variables that I need to maintain even after the terminal restart.
these are pip distances between orders.. when the terminal restarts those are reset to defaults ones which is not good. any suggestion?
-
RE: Pls help me, the remote destop window update so i want the ea run as the previous latest value wasposted in Questions & Answers
I had same problem with my ea too just make sure you add these blocks in init tab and I hope you have saved lot sizes in a variable

-
RE: Phone Notificationsposted in Questions & Answers
have you sent meta id of your phone mt4 app in PC mt4?
-
RE: show magic and order number in comment with EA Nameposted in Questions & Answers
@l-andorrà I know about this but problem is that I also need to show EA Name and I also need to show current trade number like if first trad open then
EA Name - Magic number - Buy 1
after second trade like thisEA Name - Magic number - Buy 2
-
show magic and order number in comment with EA Nameposted in Questions & Answers
how can I show magic and order number in comment with EA Name
Magic number is numeric and ea name is text.. i am not able to show them together. I also want to show order number like how many number of order it is for example if its 1st buy order then show Buy 1 then Buy 2.. when all orders closed it should start from 1