@l-andorrĂ thank you . yeah counting bars is easier but i wanted to comapre the value of the indicator at two different times withinn the same bar . say comare the value at 06:00 and 18:00 on a daily bar or at current time and 4 hours before curret time on within the daily bar .
Posts made by reader1
-
RE: comparing the value of the indicator at two diff times?posted in Questions & Answers
-
comparing the value of the indicator at two diff times?posted in Questions & Answers
Hello all ,
could you please help me with this or tell me how to do it , if i am doing anything wrong here.
instead of by candle id i want to compare the value of the indicator by two time stamps. I want to comare the value of indicator at current time with value at (current time - 4 or x hours ). I have created two variables current time and ct-4 and 'fed' them accordingly.Can you check the two formula boxes and say if this is the right way .
Thank you so much .

-
RE: Trailing stops how to use in fxdreema , simple beginners explanation needed !posted in Questions & Answers
@ambrogio thank you for the prompt advice . i will play around with those settings .
thanks a bunch again . -
Trailing stops how to use in fxdreema , simple beginners explanation needed !posted in Questions & Answers
Hello all,
I am struggling with simple use of Trailing stop and breakeven even after reading the tutorial many times .Here I want to use a simple trailing stop. I basicaly want the initial TP(20 pips ) to move +5 pips when the market goes in our favor and TP to keep on adjusting accordingly in our favor by the step of 5 pips as long the market is favorable to us. In the picture what am i doing wrong or what is the best way to achieve that. Instaed of trailing profit should i trail stop loss?

Please all the knowledgeable and very wise guys of the fxdreema input some suggestions below .
Thank you and good weekend to you all ! -
RE: very simple request if you can help with this!posted in Questions & Answers
@trader-philipps i agree with you but aren't the variables themselves calculated at every tick and then fed to/used by the main code so cpu still ends up doing the same amount of task . or can the high, low and stoploss be set as variables and not connected to the block save cpu from extra tasks. sorry if i dont make any sense lol i am a newbie .
-
changing timeframeposted in Questions & Answers
hello all , how can we change the time frame of the chart after certain condition or after timer . thank you .
-
RE: very simple request if you can help with this!posted in Questions & Answers
@ambrogio so i managed to sort that issue out ( stoploss half the box ). what i did was this ( high+low / 2) instead of focusing on high-low and thats it , it gives me exactly what i want as stop loss . i have assembled an EA have a look . tester result were ok not wow ( its just i was obsessed with the breakout box ea for last few days , so i had to finish it this way or that ) . i am putting it through demo tomorrow.
i am a newbie here let me know if there are any mistakes there or if anything could be done in different better way. my plan was to add few filters to this ea ( no trades if the box size is less than 10 pips or more than 50 pips , opening trades only during 8-2 gmt not other times ).
i would not have been able to make this without you showing me how to get the highest/lowest price value from the group of candle so THANK YOU very much .
https://fxdreema.com/shared/eKmveDhfb -
RE: very simple request if you can help with this!posted in Questions & Answers
@ambrogio thanks again . yes that is absolutely what i need . the difference in price has been turned to the pips then /2 and then that is used as stop loss. but why *10000. can i use that number for any/all pairs .
-
RE: very simple request if you can help with this!posted in Questions & Answers
@ambrogio morning. so i was trying to create a very simple breakout box ea. after your suggestion above i managed to build a working one. how do i put the stop loss as value of half of the box (sl = low + (high-low/2)), this formula will work for both buy and sell. i am new with variables. right now i could only put stop loss as low of the period for buy and high of the period for sell as you can see in pic.


please advise me i am sure there is a simple way . thank you so much in advance -
RE: very simple request if you can help with this!posted in Questions & Answers
@ambrogio thank you so much . so much appreciate this . that was what i exactly needed. thanks a million ambrogio.
I will be asking lots of quesions in future . you are very helpful and knowledgeable! -
very simple request if you can help with this!posted in Questions & Answers
Hello all ,
I am new to fxdreema and making EA . I just wanted to know how to get the high and lows from a group of candles. Say i want to get the high and low from the group of candles from 4am to 8 am and then buy or sell when the price breaches high or low . I am just stuck with getting the high and low part .Any help or suggestion or showing me how to do it would be very kind of you all .
Long live the fxdreema community!