@miro1360 well loops on their own are not a problem i have finally got a grasp on the loops a little bit , but how can we restrict the loop to run between a specific period ?
i mean how to make the loops avoid all of "today's candles" and only take all of yesterdays candles into consideration

Posts made by Zackry
-
RE: getting the candle id for previous day high and lowposted in Questions & Answers
-
RE: getting the candle id for previous day high and lowposted in Questions & Answers
@miro1360 another question please ...... what would be the best way to get the candle id where an indicator had made the highest point during a day ?
-
RE: getting the candle id for previous day high and lowposted in Questions & Answers
@miro1360 i cant believe i never noticed it before ......thanks miro
-
RE: How I can Do that In Fxdreema Double RSI In The Same Box ?posted in Questions & Answers
@moon it wont work with traditional methods , but there is a way around it , use different blocks to track each rsi indicator individually
and save their values in to the variables (save rsi value for Candle 1 and Candle 2) this way compare the values of the variables to see if one rsi has crossed the other or not , -
getting the candle id for previous day high and lowposted in Questions & Answers
hello everyone
can somebody please suggest a way to get the candle id of the previous day high and low (not the price , but the candle id)?for example take the a look at the image below , the timeframe is m15 , and i want to get the candle id of the candles that are the highest and lowest during that day

-
RE: Wicks of candlesposted in Questions & Answers
@biztet not exactly , its way too simple to act as reversal on their own , as i said its a small cog
-
RE: Wicks of candlesposted in Questions & Answers
@biztet in this particular scenario i am just trying to draw some sort of visual aid (trend line) to know when and where three candles have previously shared a common price , the main strategy is still jumbled up in my brain , but the reason i want the ea to place the line on the chart to see where the three candle stuff happened cuz manually looking at all the candles and then calculating to see if the three candle thing happened or not is not too feasible
-
RE: Wicks of candlesposted in Questions & Answers
@biztet On its own its not much useful, its just a small cog in overall bigger machine but the way things are going i dont think it will be a good system , maybe its just a wishful thinking on my part but i always keep trying to find something
-
RE: Wicks of candlesposted in Questions & Answers
thanks a bunch @miro1360 and @seb-0
and sorry i wasnt able to post sooner
what both of you actually helped immensely cuz in the start i only actually needed the Ea to consider the candles where the Candle a wick is smaller then the candle b and candle b wick is smaller then candle c
but after testing what miro posted , i realized that there is a flaw in my strategy , which is that the candle a wick doesnt have to be the smallest as loong as all three wicks has at least one price in common and thats where the example posted by @seb-0 is useful cuz it does just that -
RE: object on chartposted in Questions & Answers
@len-1 do you have a subwindow opened on the chart ? because as far as i am aware the EA can not open the subwindow (maybe there is a way but i am not aware of it) so if you want the ea to draw on a subwindow then you will need to have to open the subwindow manually and then attach the EA to the chart
-
RE: object on chartposted in Questions & Answers
@len-1 yep i did it the way roar suggested , by selecting objects via color

-
RE: Wicks of candlesposted in Questions & Answers
@seb-0 wow , i am speechless , its a bit too complex then what my brain can handle at the moment

i will try to understand what you did and then post questions -
RE: Wicks of candlesposted in Questions & Answers
@l-andorrĂ same here most of the time loops dont make any sense to me
-
RE: Wicks of candlesposted in Questions & Answers
@l-andorrĂ i was really trying to avoid calling anyone on this post because it seems like thats all i am doing lately , in my last few post i always call roar and miro on the post to help , didnt wanted to bother them again but it looks like thats the only option to get out of this jammed situation
@roar could you please help out -
RE: Wicks of candlesposted in Questions & Answers
@l-andorrĂ yeah i think loops would be the way to go but i cant figure out how ,
i guess any price will be okay as long as that price is common among all three lower wicks -
Wicks of candlesposted in Questions & Answers
Hi everyone
i have been struggling with an idea and can't figure out how to achieve thisthe idea is to check if the last three candle's lower wick has a common price ?

as you can see in the image , "candle a " has the smallest wick and is a bear candle so lets take the close of "candle a" as price of comparison , which means the EA needs to check if candle b lower wick and candle c lower wick went below the price of comparison
i did try it like this : https://fxdreema.com/shared/qvvhAwi9
but it doesnt seems to be workingany suggestions on how to achieve this ?
-
RE: Lot size calculation issue for single digit after decimalposted in Questions & Answers
@ambrogio
honestly it doesnt make any sense to me
-
RE: Lot size calculation issue for single digit after decimalposted in Questions & Answers
@ambrogio dang it ................i am such a goof
you are absolutely right , i missed your point earlier , we have no idea what the freeze % means , it could be calculating the lot correctly
i just noticed that i can achieve what i want by using "risk % of equity based on the sl " -
RE: Lot size calculation issue for single digit after decimalposted in Questions & Answers
@ambrogio

based on 2 % risk 0.89 is still wrong i think -
RE: Lot size calculation issue for single digit after decimalposted in Questions & Answers
@ambrogio sorry to keep bothering you , but tell me if this is correct :
the way i know if the lotsize is correct or not is this , when the ea places the sl then i move the cursor on the sl and it shows how much money would i loose if the sl is hit , let say it tells me that i would loose 2000$ then i do this on calculator [(the amount i would loose/ total equity)*100] and it shows the percentage , if the percentage is at 2% then its correct otherwise its wrong
is this way of checking the lotsize correct ?