yer i know what you mean. im only new here to coding but have lots of experience with charts. i would still write in the code that the ema has only been above ( say its a long trade) for x amount of candles and before that its was opposite , which means writing every ID no#. say ID 1 - 7 ema > ema 7 and before that was <. thats how id do it anyway. i have been thinking about the same thing how to get a signal just after ema cross or within certain bars. hope this helps but people here ( coders) will know better.
Posts made by mcarl42
-
RE: I have a doubt with the logic of the conditions.posted in Questions & Answers
-
RE: I have a doubt with the logic of the conditions.posted in Questions & Answers
great question . i would like to know too. you mean trade condition met after recent ema cross. thats when all the good trades happen. you could write like ema was in the opposite direction 10& 15& 20 candles ago so you know theres a trend change.
-
RE: How can I do 3 or 4 strategies within the same robot.posted in Questions & Answers
under controlling blocks bro. toggle on off,,, hit the little tick tho so you can use in mt4.
-
RE: So many lines of codes!posted in Questions & Answers
its the overall template for heaps of options id say.
-
RE: Double parabolic SARposted in Questions & Answers
ohh i tested on euraud 1hr found signal on 31st 10thmonth 2019.
-
RE: Double parabolic SARposted in Questions & Answers
https://fxdreema.com/shared/QbMbcKLgb
here it is works. i put tolerance at 4 candles . and an arrow sell only signal. thanks for the idea.
-
RE: Double parabolic SARposted in Questions & Answers
cross width under where u change > , < >= ect . gives options for when cross occurs. and tolerance. i think haha
-
RE: Double parabolic SARposted in Questions & Answers
candle close x> parabolic sar.
that will get the cross over moment , just do that for both par sar settings.
-
does anyone have a hull moving average to share?posted in Questions & Answers
great for finding flags.
???
-
RE: candle wick calculationposted in Questions & Answers
@mcarl42 or
ma cross then that block passes and stays passed waiting for trading action.
multitime frame is only way i can think?
-
RE: candle wick calculationposted in Questions & Answers
@trader-philipps yer i though so haha i"ll figure it out.
do u know how i can write ma cross say 10 candles ago but could be 6 to 15 candles ago in a time range. ?? ta
-
candle wick calculationposted in Questions & Answers
how do i write.
candle ID1 candle wick is at least 50% retracement of bull candle ID2 but not touch the 31.8. can only find wick size in pips and % of the ID1 candle itself. ???
-
RE: hi everyone , can someone please program this for me , just so i know how its done simple moving average strategy should be easy.posted in Questions & Answers
@trader-philipps gotcha. is i possible for me to write a scipt on fxdreema so i can see if ea works as designed . thanks for the help.
-
RE: hi everyone , can someone please program this for me , just so i know how its done simple moving average strategy should be easy.posted in Questions & Answers
right that makes sence to use ID0 like that.
what i meant about the ma squeeze more visible when using ema's.
ID1- ma 5 < ma 5 ID2 & ma ID1 ma 5 < ma 5 ID2 while > ma 9 for all past 3 candles .thanks & is that a custom block the constants in it , i have to look up tutorial on constants lots easier.
-
RE: hi everyone , can someone please program this for me , just so i know how its done simple moving average strategy should be easy.posted in Questions & Answers
@trader-philipps https://fxdreema.com/shared/qOFzPGvHb
this is my interpretation . i dunno but couldnt get a backtest on it , maybe live will work.
will this work ??
-
RE: hi everyone , can someone please program this for me , just so i know how its done simple moving average strategy should be easy.posted in Questions & Answers
@trader-philipps ok leave out the last candle . current candle opens (< 9) ( >20 )
and ma 5 is less than it was 1&2 candles ago but still above the 9.
; ) ; )
-
RE: hi everyone , can someone please program this for me , just so i know how its done simple moving average strategy should be easy.posted in Questions & Answers
@trader-philipps no guess not , just want to figure out the ma squeeze and break.
yes that looks right on the chart . thanks heaps very grateful. -
hi everyone , can someone please program this for me , just so i know how its done simple moving average strategy should be easy.posted in Questions & Answers
moving averages .. - ( 5>7 ) ( 7>9 ) & ( 9>20 )
last candle. open>20 close>20 open<9 close<9 low<20
current candle open<9 close >5
moving average current is < m.a 1&2 candles ago.like a ma squeeze and breakout.
thanks if any one can show me how its done and i will learn by seeing it.