@l-andorrà I need the value at any time when there is no trade, either at starting of the bot or after closing the previous trades.
Actually I want that value for the reference for futher entry and exits
Posts made by Mani13
-
RE: Store a Value for further calculationsposted in Questions & Answers
-
RE: Store a Value for further calculationsposted in Questions & Answers
@l-andorrà This I done as you said but that value is keep in fluctuating, How can i fetch a fix value then ignore that variable
-
RE: Store a Value for further calculationsposted in Questions & Answers
@l-andorrà Actually it is bid of other pair and ask of another pair.
for example BID of USDCAD pair - ASK of GBPUSD pair.BID 1.3710 - ASK 1.3590 = 0.0120
Need to store this value (0.0120) of their difference when no trade is there,
-
RE: Store a Value for further calculationsposted in Questions & Answers
@sktsec That is not the spread actually, I want to record the difference between bid and ask price of 2 different pairs with similar decimal value.
I dont want to record every tick data. just need 1 numeric value of any time when there is no trade
-
RE: Store a Value for further calculationsposted in Questions & Answers
@l-andorrà Yes,
Infact i am getting the variable value perfectly. I just want any of a fix value of any moment when there is no trade open, for now it keep on changing as price fluctuates -
RE: Store a Value for further calculationsposted in Questions & Answers
@sktsec Yeah it is not a fix value, and this is the task which I am trying to do just to get a value when bot just activated or after closing the previous trade.
-
RE: Store a Value for further calculationsposted in Questions & Answers
@l-andorrà , Thanks you stepping in.
Actually this is what I want to store but I am not able to get a fix value, it is keep on fluctuating.
A fix value of difference open is needed to store when bot is activated

-
Store a Value for further calculationsposted in Questions & Answers
Hello Experts,
I want to store a value.For example we have no trade.
As soon we activate the bot, I want to store the value of difference of Ask price and Bid price (Spread) at that moment. further I have to do a calculation with that fix stored value.Please suggest how to do this
-
RE: Filter tradesposted in Questions & Answers
For example I have 3 trades open from Group A
Trade 1 - 0.01
Trade 2 - 0.02
Trade 3 - 0.04and now i want to EA to open a new cycle of trades in Group B which needs to be independent of the count and lot size of the trades of Group A.
In Cycle 2 of Group B initial lot is 0.10 and
if trade count is 1 then open second trade 0.20
Trade count 2 then third trade 0.40
count 3 then 4th trade 0.80But now what happening is it is counting the trades of first cycle as well and it is directly jumping to open the 4th trade of cycle 2 Group B skipping 1st, 2nd and 3rd trade of cycle 2 Group B even when I filter them to count by Group B but still it is counting Group A trades.
-
RE: Filter tradesposted in Questions & Answers
@l-andorrà The thing you suggested works perfectly, and thank you for that.
I have a another question from same topic that I also count the buys and sells independently for second cycle linked to second group, But currently it is counting the previous cycle trades and opening new trades while including -previous group trades also
-
RE: Filter tradesposted in Questions & Answers
Thank you @l-andorrà for stepoing in, you always come first, Thank you.
I understand your suggestion and I am 100% sure it will work. -
Filter tradesposted in Questions & Answers
Good Morning,
Can anyone suggest the ways to filter the trades in martingale EA.
For example if one cycle of trade is running and if there is a certain drawdown it must open a new cycle and count the trade according to second new cycle and must not count the previous trade count and its volume both.
I count putting a group number but what it is doing, it only closing the magic number trades but not include the group trades.
So i need to run 2 different cycle independently but when it went into profit on global space it must close all trades linked to magic and each group
-
RE: Need Help to Open an Order only at 100 pips.posted in Questions & Answers
@l-andorrà Thank you stepping in as always

Can you please show a small example of blocks above and below this block? -
Need Help to Open an Order only at 100 pips.posted in Questions & Answers
Hello Everyone.
I need help how to open a stop order only at 100 of specific price. For Example.
if current price for EURUSD is 1.0656 then I want open Buystop at 1.0700 and SellStop at 1.0600If Buystop get triggered at 1.0700 then Next Buystop will be at 1.0800 and next Sellstop will be 1.0700.
So it open only at 100 pips value
-
RE: Volume limit exceeded mql5 validation errorposted in Questions & Answers
@Pascal-0 Set a value in the buy/sell block in volume limit space
-
RE: ON and OFF Block.posted in Questions & Answers
@sktsec Yes, you said correct, in initial message image.. it is considering past trades also. and after 3 consecutive profit trades it never open a trade.
Number should reset to 0 each day.
i shared the partial project, buy and sell block are covered as 26/27
-
RE: ON and OFF Block.posted in Questions & Answers
It is working but it stopped considering 3 profitable trades, or we can say it is not checking consecutive profits.
https://fxdreema.com/shared/daQs4qhTc -
RE: ON and OFF Block.posted in Questions & Answers
is that okay ? where you place the reset block ?

-
RE: ON and OFF Block.posted in Questions & Answers
@jstap Thank you for here by, can you please suggest me a correction ?