so to be specific maybe say candle close/open at 08:00, so when its 08:00 every morning a trade just opens
Posts made by pips 0
-
RE: Betting systemposted in Bug Reports
-
RE: Betting systemposted in Bug Reports
hi @jstap thank you so much it works well, I have another question how do i open a trade daily at exactly the same time say 08:00, how exactly are the conditions laid out and also is it all under the ontick tab?
-
RE: Betting systemposted in Bug Reports
@jstap https://fxdreema.com/shared/YGn6rH2Cd
i used chatgbt to convert the code from mql4 to mql5
-
RE: Betting systemposted in Bug Reports
@jstap yes and it gives the following errors
Compilation errors
'MarketInfo' - undeclared identifier
')' - expression expected
',' - unexpected token
'Symbol' - some operator expected
')' - unexpected token -
RE: Betting systemposted in Bug Reports
@l-andorrà https://fxdreema.com/shared/WzEI7QhLb

I am trying to use the code below instead of 0.1:
0.02*AccountBalance() / MarketInfo(Symbol(),MODE_MARGINREQUIRED)Or this:
(2.0/100)*AccountBalance() / MarketInfo(Symbol(),MODE_MARGINREQUIRED)seems its not compartible with mql5 maybe works on mql4, so i would like to have my initial risk at 2% of my account balance instead of having a fixed lot size of 0.1
-
Betting systemposted in Bug Reports
hello @fxDreema Does this work on MT5 i am getting an error i want to replace the initial 0.1 with a fixed risk of 2% as well.

-
RE: Betting custom sequence risking % of Equityposted in Questions & Answers
@jstap im trying to open my trades using custom sequence, the only option i see is under base volume where i can manually enter the lot size for first trade of the sequence, what i want to do instead is have the option to open trades at 1% of account size (having a stoploss of 2Atr for each trade) then thereafter if a loss occurs the trades follow the sequence
for example if my sequence is 1,2,3 then first trade risks 1% of account size and stoploss is always 2atr, if loss occurs second trade risks 2% and third risks 3% of account size then it resets when i make profit.
the big issue is under Base volume where i need maybe custom code to calculate 1% of account balance. i hope it makes sense
-
RE: Betting custom sequence risking % of Equityposted in Questions & Answers
@l-andorrà where i am having the issue is on entering the trades. where is says base volume i would like to risk 1% per trade, then from here it follows the sequence outlined but the base would be 1% and this 1% should have a stoploss of 2ATR to come up with the lot size given the account size
-
RE: Betting custom sequence risking % of Equityposted in Questions & Answers
@Morpheus_0 i am not sure if you get what i am saying please assist
-
RE: Betting custom sequence risking % of Equityposted in Questions & Answers
Yes i get that but look this is under MM betting sequence, please check the picture attached if i choose the option you highlighted then im unable to use the betting sequence, and this strategy is based on that
-
Betting custom sequence risking % of Equityposted in Questions & Answers
Good day I hope you are well, i am developing a system but i seem to be stuck when it comes to calculating risk per trade. Ideally i would like to risk 1% of Equity per trade. In the picture i have attached my stoploss is calculated using 2ATR, which should give lot size depending on equity now where i am stuck is how can i transfer that to the base volume because i would like my lot size calculated as i have highlighted above. thanks for your help i hope i am making sense

-
RE: How to use ATR as price level when entering using pending ordersposted in Tutorials by Users
awesome works great thanks so much. This might be silly question but im not a programmer i wanted to know how i can multiply this function which you gave me, +iATR(NULL,0,14,0). As it is, it gives 1ATR so i wanted to know how i can get let's say 2ATR or 1.5ATR. And also what function do i use in the event of a pending sell order, i figured the function you gave me is for buy pending order. thanks again