@l-andorrà
How does it depend on the timeframe? In my view it doesn't depend on the TimeFrame, because I'm talking about locating the (First) candle that happens in the Timeframe, it doesn't matter if it's in m1, or h1, or h4, I would like to plot an arrow under the first candle that opens and keep the arrow there, and I wanted to identify what the ID of that candle is.
Next I would just identify if that candle is a (bullish) or (bearish) candle.
But I managed to do it in a different way, I'm validating it to see if it's right in the real market.
Posts made by OntradingX
-
RE: First Candle of the Day, Locate and Identify???posted in Questions & Answers
-
First Candle of the Day, Locate and Identify???posted in Questions & Answers
Can anyone help me understand how I can locate and identify if the 1st candle of the day, regardless of the Timeframe, is Bullish or Bearish?
-
Fxdreema error using Stochastic ???posted in Questions & Answers
Has anyone noticed this error in the tester using the native indicator of metatrader 5?

-
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
@l-andorrà I need only for high price.
Have one example? -
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
I need only for high price.
Have one example? -
RE: Write File block, how to save sequentially across lines.posted in Questions & Answers
@Alan-paredes2
Thanks for trying to help.
But what I need is for the EA to generate the file.
I'm trying to contact someone mql5 expert to solve this for me through fxdreema.
I thank. -
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
@Byens
Thank you for your attention, but this only draws 1 line at the maximum price found in the period of 50 candles, I want 1 line for each of the 50 candles -
RE: Write File block, how to save sequentially across lines.posted in Questions & Answers
@l-andorrà You did not understand.
I'm talking in this case about saving information inside a .csv file
There is nothing related to another open topic.
Where is your answer in another thread? -
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
Exactly that.
You explained in a few words what I want to do. -
RE: Average price between 5 or more lines ?posted in Questions & Answers
The problem is exactly there as I mentioned above.
I already know how to do it with entry prices, because I can make a loop looking for these entry prices with the blocks (pink).
What I'm not understanding is how to make a loop to look for all the prices of the lines plotted on the chart and thus find an average price for them. -
RE: Rule prohibiting currencies with the same quote from being traded.posted in Questions & Answers
@l-andorrà
They can only be opened in different symbols.
If I already have a trade opened with the EURUSD currency then I already consider that I have the USD quote open and I ignore all other attempts to open a trade with currencies that have a USD ending, for example GBPUSD,XAUUSD,AUDUSD all others that have quotes other than USD can open. -
Write File block, how to save sequentially across lines.posted in Questions & Answers
I would like to save the high prices of the last 50 candles in each of the lines.
So I will have the title, Candle prices, and below each line it should put the maximum price of each candle.
Does anyone know how to do this?
I notice that this block only saves in (horizontal) in each column -
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
My logic that I tried was the following:
Every tick (but could be every candle)
Execute 50x the variable block that will only add the value of the variable +1, this would generate from 1 to 50 in the variable that is linked to the candle ID of the "Draw Line" block.
As the Draw Line block is being repeated 50x with the Loop variable, then it would draw a horizontal line on top of each candle from candle 0 to candle 50.
But none of this is happening. -
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
@l-andorrà
imagine the following:
I'm on Candle 0 (current) and it's part of the 50 candles.
I want to put a horizontal line on the price of its high in real time and the high of the past 49 candles.
When this candle closes, I want the process to pass to another candle as this next candle becomes the current (0) candle again.
And so consequently the horizontal lines are always being redrawn over the new candles.
I believe I've seen someone drawing numbers on top of candles, but I've never seen anyone draw horizontal lines on a sequence of previous candles. -
RE: Average price between 5 or more lines ?posted in Questions & Answers
@l-andorrà I don't exactly know the difference between the two.
But would you be able to give an example in a project for me? -
RE: Rule prohibiting currencies with the same quote from being traded.posted in Questions & Answers
@l-andorrà
According to my management, I list a maximum of currencies, indices, metals or cryptos that I can have open and working simultaneously.
Example:
Coins with 1000 usd balance my strategy allows only 3 to be traded simultaneously, but they can open the grid normally, as my balance increases this amount increases, as my balance drops, this amount drops. -
RE: How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
This is a initial Project.
https://fxdreema.com/shared/Trg60KbP
I have the impression that he is drawing the lines, but he is not leaving them fixed.
Ideally, for each new candle, the EA draws the 50 lines at the top of each candle and keeps them updated for each new 50 candles. -
How to keep horizontal lines for the last 50 candles?posted in Questions & Answers
How can I draw horizontal lines on the highs of the last 50 candles?
-
Average price between 5 or more lines ?posted in Questions & Answers
Hello, I already know how to find an average price between open orders.
Is there any way to find an average price between 5 or more lines on the chart and with each new line generated the price is updated?
Can anyone give an example?