I have two questions that I hope you can help me with
The first question.
I want to set a fixed candle every time the market moves the candle remains fixed
Example: I want to calculate the highest and lowest value of candle number 60 specifically every time the market moves after one candle the value of candle number 60 changes and so on.
I want the value fixed until the end of all open deals
Posts made by khalids222
-
How i can get fixed value to candle numberposted in Questions & Answers
-
RE: cryptocurrenciesposted in Questions & Answers
@ontradingx thank you so much i will try
This is ery useful -
cryptocurrenciesposted in Questions & Answers
Is there a simple way to link the expert advisor to the Binance platform?
Or is there a site that builds a robot without programming codes specialized in cryptocurrencies? -
RE: Question about the value of open positions and the number of lotsposted in Questions & Answers
@l-andorrà
https://fxdreema.com/shared/TdKbkIEsb
This is a perception of the project, but the problem is to combine the old commands with the new -
RE: Question about the value of open positions and the number of lotsposted in Questions & Answers
@l-andorrà said in Question about the value of open positions and the number of lots:
You will need a struture of variables controlling all those calculations. Will that progression (1,2,3,...) be fixed or should it be inserted as input parameters?
should it be inserted as input parameters?
All these variables are ready and working fine but my problem is, how do I combine the old with the new only -
RE: Question about the value of open positions and the number of lotsposted in Questions & Answers
Example: I opened a random buy position at a price = 300 lot =1
Then for every ten point drop in the price, I want to open a new deal with a larger lot in the ranking order , 1,2,3,4,5,6,7,8,9 etc
Let's go back to the example
price = 300 lot =1
price =290 lot =2
price = 280 lot = 3
price=270 lot= 4
price = 260 lot =5
All this is very easy, the question here or the required:
In every trade, I want Multiplied by the lot by the price and combine it with the previous one
back to the example i want :
price = 300 lot =1 300 x1= 300
price =290 lot =2 300+(290x2) /3
price = 280 lot = 3 300+ (290x2)+(280x3)/6
price=270 lot= 4 300 + (290x2)+(280x3)+ (270x4)/10
Divided by /total lot very trade -
Question about the value of open positions and the number of lotsposted in Questions & Answers
Example: I opened a random buy position at a price = 300 lot =1
Then for every ten point drop in the price, I want to open a new deal with a larger lot in the ranking order , 1,2,3,4,5,6,7,8,9 etc
Let's go back to the example
price = 300 lot =1
price =290 lot =2
price = 280 lot = 3
price=270 lot= 4
price = 260 lot =5
All this is very easy, the question here or the required:
In every trade, I want Multiplied by the lot by the price and combine it with the previous one
back to the example i want :
price = 300 lot =1 300 1= 300
price =290 lot =2 300+(2902) /3
price = 280 lot = 3 300+ (2902)+(2803)/6
price=270 lot= 4 300 + (2902)+(2803)+ (270*4)/10
Divided by /total lot very trade -
RE: I need help with this project pleaseposted in Questions & Answers
@jstap I mean, you can present the idea in a different way of working.
It's not what it looks like in my project -
RE: I need help with this project pleaseposted in Questions & Answers
@jstap said in I need help with this project please:
I will try and help but I am unsure how to use bucket of trades, I think you should have bucket in a seperate tree to the pink, bucket will change the variable then the for each will use without being connected, just ensure timbers are in correct order
Thank you very much, you can have another idea, you cannot rely on the same project as mine, you can change it with the same idea.
-
RE: I need help with this project pleaseposted in Questions & Answers
@l-andorrà said in I need help with this project please:
But is it inserted as an input parameter or should it be hardcoded?
First of all, I thank you for your response and your efforts, which are appreciated, but sometimes as the days go by in the answer, the person loses hope of getting a correct answer.
I did not understand your question . And I sent the project and shared it, and I sent the request, and so far, six days have passed and we are answering a question every day. To complete this project, we need a month.
The project is fully explained in the pictures. If you can help with something, please provide it. You cannot also thank you from my heart and wish you success, but sometimes I feel that these questions are just a waste of time
I apologize if there was a mistake in my words, or something unintentional.
Thanks again for your efforts in the forum -
RE: I need help with this project pleaseposted in Questions & Answers
@l-andorrà said in I need help with this project please:
@khalids222 That is not a trivial project. Is the initial price (the one used as distance 0 pips) manually selected?
The distance is six points
-
RE: I need help with this project pleaseposted in Questions & Answers
@l-andorrà said in I need help with this project please:
Ok. Let's give one step back. You want to open a first trade (manually maybe?) and the every 6,12,18,24 pips away (in profit) from its open price you want opposite trades open. Is that correct? Is there any limit for those new trades? And when a new buy is supposed to be open?
Ok, let me explain with an example so that the picture is clear

-
RE: I need help with this project pleaseposted in Questions & Answers
I tried all possible methods but none of them worked.
This is the last thing I did.
Does anyone have an idea how you can work?
https://fxdreema.com/shared/M7XdiD6fb -
I need help with this project pleaseposted in Questions & Answers
Here the project starts to open a random buy deal
Every six pips, a new buy will be opened .And if the( bid )price goes down maxbuy
i want open sell evry 6 pips .
& every minsell +6 pips = buy
This project, but when I apply it to the test, the distance appears inconsistent
https://fxdreema.com/shared/jHWgmlJXb -
RE: How do I close the first deal when the number of deals becomes 2? So that there is no more than one transaction in the same direction in the marketposted in Questions & Answers
@jstap said in How do I close the first deal when the number of deals becomes 2? So that there is no more than one transaction in the same direction in the market:
Close order before buy/sell. if none running then there is no trade to close, if one running then it will close as it opens the next.
Thank you very much, your ideas are always beautiful, I will try