Add volume and trade it.
-
Hello all
I want to trade (under certain conditions) a new trade with the acumulated volume of all active trades.F.E. If I have a group of 3 buys like:
1st buy, trade volume =0,1
2nd buy, trade volume =0,6
3rd buy, trade volume =0,3And the X condition is met, How can I generate a sell trade of 1,0 --> result of (0,1 + 0,6 + 0,3) ??
Maybe " Add to volume " coul be the solution but I´m not able to manage it.
Any idea to get this new target ??? possible blocks to use ???
Thank you.
-
if you are trying hedging strategies, my opinion about these is that they are overcomplicated Martingale strategies. The same result, but much, much harder to make and maintain. The easiest thing to do in your case is to just close those buy trades and think fresh what to do next.
If you want to calculate the total lot size of those trades, it's a little bit complicated and it looks something like this: http://prntscr.com/85eof1
http://i.imgur.com/OtO811w.pngFor the future I was planning a block that will load a group of trades and then in "Condition" and all the other blocks various parameters will be available, like Average Lots, Total Lots, Min Lots, SL, TP... stuff like that.