Hello, good day, and thank you,
I want to select a candle where the shadows are no more than one-fourth of the candle size, and the body is larger.
I wrote this condition using a variable, but it didn’t work correctly. Can someone write this code for me or guide me?
The issue is that after each candle, the variable didn’t reset to zero.
Posts made by ennoch
-
body sizeposted in Questions & Answers
-
RE: Checking recent candlesposted in Questions & Answers
I have limited familiarity, and I’ve tried to write this code a few times but couldn’t succeed. I thought of asking my question in the forum, hoping someone might help me.
-
RE: Checking recent candlesposted in Questions & Answers
You misunderstood me. I want to measure the size of recent candles. For example, if the size of candle ID six is the largest candle in the last 10 candles at 100 pips, then whenever a candle closes larger than 100 pips, it should open a position for me.
What you explained measures the market price, not the candle size.
If you see this picture, you will understand.

-
Checking recent candlesposted in Questions & Answers
Hello, I hope you're doing well.
I want to create a time range or candle period, for example, the last 10 candles, and check whenever a candle closes larger than all the previous 10 candles. If it’s bullish, it should open a Buy position, and if it’s bearish, it should open a Sell position.
Additionally, I need an input for the candle size, and the candle’s shadow (wick) should not exceed one-quarter of the total candle size.
My main issue is checking the previous candles. -
RE: purchase problemposted in Questions & Answers
@l-andorrà I just tested the buy position
I will write the code again, maybe it will be correct -
RE: purchase problemposted in Questions & Answers
It only draws one line, even if it draws multiple lines. After opening a position, the lines are deleted, and it should not open another position until a new line is drawn.
-
RE: purchase problemposted in Questions & Answers
I did this in the first message
https://fxdreema.com/shared/X8DayNi0b -
RE: تهیه اشتراکposted in Questions & Answers
صفحه اصلی سایت بالای صفحه
Purchase
کلیک کن هر اشتراکی میخواهی انتخاب کن با ارزدیجیتال یا پیپال پرداخت کن -
RE: purchase problemposted in Questions & Answers
If we want to explain it simply: whenever several bullish candles are formed (bulls in a row), place the line on candle ID 3, and then take a position after the cross — this works perfectly.
However, the conditions don't work properly, even though the lines are drawn correctly.
-
RE: purchase problemposted in Questions & Answers
In that case, it specifies only once and does not open new lines until the price reaches it
-
RE: purchase problemposted in Questions & Answers
I've already done this.
After opening a position, my line gets deleted.
The entry condition for the trade is the line's cross.
However, even after the first position is closed, it keeps opening positions continuously.

-
purchase problemposted in Questions & Answers
I wrote a robot based on candlesticks.
Whenever the candle with ID 6 is larger than the next 5 candle and the previous 5 candle, it draws a line on the high of that candle.
So far, it works correctly.
But when I say, "If this line is crossed upward, take a buy position," after closing the position, it continuously opens new buy positions for me.
https://fxdreema.com/shared/X8DayNi0b
-
check dastanceposted in Questions & Answers
Hi, I want to measure my condition whenever price n pips moves away from 200 EMA and then enter position.
I set the check distance block like this but it didn't work

-
RE: cahnge periods fractalposted in Questions & Answers
@jstap I don't think it works like that
I put period 5 in trading view
The daily chart is like this

But I put Candle id 3 and it didn't work like that in Metatrader to test the ot

https://fxdreema.com/shared/XndToNqMd -
RE: cahnge periods fractalposted in Questions & Answers
Sorry, I did not fully understand what you said
Now I want to set it to 5, how should I do this? Can you send me a picture or a link? -
cahnge periods fractalposted in Questions & Answers
Hello, I want to change the periods of the fractal indicator and set it to 5
This is easy in Trading View
But how should I change the periods in FX Dreama?

