How do I get average? For open positions multiplied by lots
-
How do I get average? For open positions multiplied by lots
Example
1-OPENED PRICE 10 (1LOT)=10
2- OPEEND PRICE 15(2LOT)=30
3- OPENED PRICE 20*(3LOT)=60
4- OPENED PRICE 25*(4LOT)=100
I WANT GET (10+30+60+100/10)=20 -
@khalids222 Pink For each trade block, modify variable block with +variable name in adjust, reset using a no trade block.
-
@jstap Thank you for the reply, but I didn't understand how things would go. Is it possible to get more clarification in practice?
-
-
-
@khalids222 What are you trying to show me there?
-
@jstap How can I get the average here? I didn't understand your response or I couldn't find out how to apply it
-
@khalids222 Add to your project what I put, put the variable in a comment to see the results, you will need it placing more than 1 trade.
-
@jstap ok i wiil sent to you to see 2 mint please
-
@jstap https://fxdreema.com/shared/TjoiBra2d
I want average prices &lot -
@khalids222 what do you mean by average prices?
-
@jstap 1-OPENED PRICE 10 (1LOT)=10
2- OPEEND PRICE 15(2LOT)=30
3- OPENED PRICE 20*(3LOT)=60
4- OPENED PRICE 25*(4LOT)=100
I WANT GET (10+30+60+100/10)=20 -
Look at this picture I opened several deals, each deal is a different lots
I want to average these deals -
@khalids222 Get the total lots using bucket of trades, get the running trades, divide the total lots by running trades, ensure your getting manual trade information.
-
@jstap Can you explain more about your method?
-
@khalids222 Like this: https://fxdreema.com/shared/tBalDXtG
-
@jstap
I don't know if it will work, but I will try to implement it
Thank you very much, I appreciate your response -
@khalids222 Your welcome
-
@jstap This method did not work, is there another way?
Or how can I save the initial lot value by multiplying the opening price each time -
@khalids222 I don't see why it wouldn't work, pink blocks will get the lot for each trade that you could add together, put every option into a comment so you can visually check what isn't doing what is needed.
