@bk7 https://fxdreema.com/shared/iFlo6o5M
Sorry, I forgot to attach the link
Posts made by khalids222
-
RE: Decrease numbers after the comma to an integer 0.00221010posted in Questions & Answers
-
Decrease numbers after the comma to an integer 0.00221010posted in Questions & Answers
I tried to reduce the number by several functions, but it did not succeed. I tried to * the number by ten thousand, but it did not succeed
I want to subtract the value of a recent buy from a recent sell
if R3 =100 close all trades .
R3 = BOPEN-SOPEN ---- BLOCK NUMBER 27
I USED
= NormalizeDouble($, 2)
AND
=DoubleToString(R3,2)They all did not work, is there a specific suggestion
-
RE: Why are short positions not activated? What's wrong here?posted in Questions & Answers
@khalids222 Was the definition of the number of buycount the real problem?
After the definition of the problem was resolved
Thanks to everyone who shared his opinion and solution -
RE: Why are short positions not activated? What's wrong here?posted in Questions & Answers
@jsauter86 Thank you again but it did not work and not required
-
RE: Why are short positions not activated? What's wrong here?posted in Questions & Answers
@jsauter86 Thank you and for your help I will give it a try
-
RE: Why are short positions not activated? What's wrong here?posted in Questions & Answers
@jsauter86 I wait you
-
RE: Why are short positions not activated? What's wrong here?posted in Questions & Answers
@l-andorrà said in Why are short positions not activated? What's wrong here?:
Just two initial recommendations:
Blocks 7 and 8 can be directly connected below block 6 because it is evident you need that buy open price value.
The tree block headed by block 11 is adding volume to just 1 open trade. Is that correct? How many open trades are supposed to be active at the same time?
When the long positions become 3 and start to go down ten pips, it will start the short opening
-
RE: Why are short positions not activated? What's wrong here?posted in Questions & Answers
@jsauter86
First: Thank you for the response.
Secondly, I did not understand what you mean, if i turn it on, I will get a lot of sell orders, and I only want one when the buy drops ten pips from the most recent one
I also tried this method, but it did not openhttps://fxdreema.com/shared/UNMhIGU6
Look at the picture, you will find that the conditions were met, but the sell did not open however.

The buy reached 3 deals , newest = 13954
R1= (Yellow line) newest-10 = 13854
The price exceeded this point and no sell order was opened ,What is the problem ? -
Why are short positions not activated? What's wrong here?posted in Questions & Answers
Why are short positions not activated? What's wrong here?
WHY BLOCK 46 When it crosses the yellow line, a sell does not open?Where the yellow line represents the value R1 > -
RE: Why not close the equations؟posted in Questions & Answers
@l-andorrà Thank you very much, always creative
-
RE: Why not close the equations؟posted in Questions & Answers
@miro1360 The main problem is only the close ؟Why not close؟
Could you please help me
https://fxdreema.com/shared/ly9KXy9O -
RE: Why not close the equations؟posted in Questions & Answers
@khalids222
Sorry for the mistake, regardless of the way the trade was opened, I'm just talking about the close feature as an example? Why don't close work here?
Every time a new deal is opened.
The distance between the highest and lowest point is measured, and then divided by the number of trades.
Then the output is subtracted from the current price.
If the price falls below the final product, the winning deals are closed.
example :
old price= 100
new price= 200
trade count=4
newprice - oldprice = R1
R1/4=R2
R2-CLOSECANDLE(0)=R3
IF PRICE BELOW R3 CLOSE OLD BUY -
Why not close the equations؟posted in Questions & Answers
https://fxdreema.com/shared/ly9KXy9O
To solve the equations when the price goes below the red line, I want to close the open positions above -
RE: lose the difference between buying and sellingposted in Questions & Answers
@xyon126 Thank you, presence one per bar above condition it will make it run once per bar but under condition it will make it run In every event at the bar .This is not a mistake.
so the connected blocks will be executed according to their number
It does not solve the problem -
RE: lose the difference between buying and sellingposted in Questions & Answers
@xyon126 This will close any deal of up to ten dollars indiscriminately
think this is the closest possible thing
https://fxdreema.com/shared/fginPTIIc -
RE: lose the difference between buying and sellingposted in Questions & Answers
@l-andorrà said in lose the difference between buying and selling:
That is a weird strategy at first glance. So you want to close 10 buy trades at random just because there are 10 more buys tha sells? What's the point of that? And how can you select what 10 buy trades should be close from all 30 open right now?
I don't want to randomly close trades, I only want to close winning trades
After it reach a profit of ten dollars, or an average of ten dollars.
(BUYCOUNT )-(SELLCOUNT)= Q1
30-20=10
Q1>10
CLOSE Q1 ONLY -
RE: lose the difference between buying and sellingposted in Questions & Answers
@xyon126 Thank you, but can you specify any of these topics for me? I find more than 11 .000 TOPIC
-
RE: lose the difference between buying and sellingposted in Questions & Answers
@khalids222 No, that's not what I mean
https://fxdreema.com/shared/Ckh42EzpdSuppose we have 20 short and 30 long trades , here
30 buycount - 20 sell count = 10 buycount Let's call it (Q1) IN MY PROJECT
HERE I WANT CLOSE (Q1) ONLY WHEN IS = Q1 MORE 10$ -
RE: lose the difference between buying and sellingposted in Questions & Answers
@l-andorrà buy- sell =5 buy & total 5buy =10