@roar any blocks example please.
Posts made by seemab
-
RE: Find ordersposted in Questions & Answers
@roar can you please tell me, if A variable get updated every trade even 1 trade in bucket of trades we just get the value in A.
Now simply add previous A value in A current updated value and give results in B.
How too do this ? -
RE: Find ordersposted in Questions & Answers
@roar
But it's not working correctly, it keep's adding after every trade or closed but it's not giving right value, i am confuse on it. -
RE: Find ordersposted in Questions & Answers
@roar i know this this will happen in future when many trades will be closing but please currently i only need this.
I get some value in A, and A updates every time with new value when trades are closed.
So whenever new value is updated in A variable add previous value of A and update in B variable. simple calculation for now only. -
RE: Find ordersposted in Questions & Answers
@roar yes my goal is too get total profit in variable B, for top and bottom buy trades i am already getting there profit no problem for now. Problem is when i get there profit in variable A and want too add them in previous profit which i got in last closed. It keep adding it not only once.
In simple 1st time closed trades profit = 2 in variable A.
Now the value will be same also in variable B because this is 1st close of trades.
Now when 2nd time trades close there profit is 5 dollars.
Now i want too add 2 in this current updated profit which i get in A variable and give results in B variable.
Previously B was same as A value, now previous B = 2 and current A = 5 = 2+5 = 7 in variable B.
When 3rd close happens A get update value of 7 dollars.
So now we have B = 7 + 7 = 14 in variable B. And So until it hit block close all trades. -
RE: Find ordersposted in Questions & Answers
@roar ( completing reply here ) and what ever it is, and update results in B variable, So like this every time A will be updatings profits of closeds trades and adding also previous profits which are in B variable now and giving results in B variable.
-
RE: Find ordersposted in Questions & Answers
@roar in bucket of trades i am collecting profit of only last 2 trades which are closed ( 1 from top buy trade and 1 from bottom buy trade ) and give it's result in variable A as total profit of both trades ( in this top trade -1 dollars and bottom trade +3 dollars so, 3-1 = 2 = value in A variable). Now as i get A variable value 2, and when next 2 trades which will be closed 1 top and 1 bottom give collect it's value and update in A variable as well add previous profit value which was 2 in current profit value may it can 5 or 10 or 2 what ever it is.
-
RE: Find ordersposted in Questions & Answers
@roar i have tried it also on trade event but still not when trades are closed it's increasing the values in B variable not giving as it should be, even i have reset the A variable too 0 after updating it.
Please have look on it and give any ideas, i will be appreciating your help.
https://fxdreema.com/shared/m2bWPVFgb -
RE: Find ordersposted in Questions & Answers
@roar thank you so much it's working now. i set it 0.
But now i am stuck in a simple variable calculation.
https://fxdreema.com/shared/LRz503fUc
In this i have added an area need help where i need help.
When bucket of trades are closed i get there profit in variable A every time.
Now i want to add previous A profit value in next profit A value every time when trades are closed and get results in B variable. Please if you can help. -
RE: Find ordersposted in Questions & Answers
@roar this is the link and i have created an Area with your name title in which your given blocks are used.
https://fxdreema.com/shared/yBQtRfQud -
RE: Find ordersposted in Questions & Answers
@roar As in your picture ( the terminal is having profit of 136 dollars ) and 1 trade is in -1 dollar, ( so the profit of the total trades is 136 dollars ) but the comment of chart is showing 137 dollars.
I need only profit of trades which are in profit not all the trades. -
RE: Find ordersposted in Questions & Answers
@roar Sorry but this one is not working when i do it and draw value is as text on chart of totalprofit variable it's in 100000's not according too the trades. Please any other idea ?
-
How to check total profit of only profitable trades when we multiples tradesposted in Questions & Answers
Please can any one tell how to check for profit of only the trades which are in profit.
For example :
I have 10 buy trades and my 4 trades are in profit and 6 trades are in loss.
Now i want to check total profit of only these 4 trades which are in profit and get it in a variable.
As price moves it can be 5 trades or 6 trades according to the profit.
Please tell me how i can get this ? And body please have any idea ? -
RE: Find ordersposted in Questions & Answers
@roar Please can you tell how check for profit for only the trades which are in profit.
For example :
I have 10 buy trades and my 4 trades are in profit and 6 trades are in loss.
Now i want to check total profit of only these 4 trades and get it in a variable.
Please tell me how i can get this ? And body please have any idea ? -
RE: Find ordersposted in Questions & Answers
HI @timmyhanke :
Same thing i was trying to find how close most losing trade / how find most losing trade of sell side or buy side and i think we are on same EA which was given in youtube videos, am i right ? -
RE: NEED THIS HEDGE STATEGY EAposted in Questions & Answers
@Chege Hi :
i have a similar too this if you can explain properly more about the recovery gap like, is this a 40 pips gap between buy and sell trades or 11 pips gap between trades ? -
RE: How to close most losing or biggest loss trade in multiple trades kindly helpposted in Questions & Answers
l'andorrĂ
Yes it needs too look all the time in for sell side separately and buy side separately, can you share some block's on his to do this loop. -
RE: How to open trades with basic price action?posted in Questions & Answers
Please write full strategy what you want and when to open, how many pips and when too close each and every thing than may be i can send blocks to you.
-
How to close most losing or biggest loss trade in multiple trades kindly helpposted in Questions & Answers
**Hi all :
I want to close most or biggest losing trade on certain condition when i have multiple trades. And remaining trades will be remained open. Please help i will very thank full too you. **
