MA CROSSOVER WITH BULL/BEAR CANDLES
-
Dear Friends,
Please help me on the blocks for the below one as im a new learner.
SMA & FMA uptrend Crossover happens in a particular candle. After Crossover it should look for bull candle.
Once bull candle formed, it should compare the overall high between crossover candle and the bull candle.
Once the new candle crosses the overall high it should go for buy call.
-
@karthiey You will definitely need variables? Are you familiar with them? Otherwise you simply won't have that.
-
@l-andorrà No sir, im very new to this and not familiar with variables. Please advise if there is any video which can help me out or any other better way. Thank you.
-
@karthiey In upper left you have constants or variables, start a project and add a shared link if something not working, when the cross happens you need to save the candle time (into a variable), you also need to save the time of the candle high you want to be broken (in a separate variable), then when you get a bull turn a bool variable to true, then when a candle crosses your value place a trade.
-
@jstap Sir, thank you for trying to help me out. But im having no knowledge in variables. So don't know how to proceed. However i will start to learn about variables.
-
@karthiey If you make a simple project just doing 1 thing with with a variable, put the result in a comment so on back test you can visually see what has happened, if you get stuck ads a shared link.
types =,
int=whole number
double=number with a decimal
color=a colour
bool=true/false
string=words or numbers &symbolsThere are more but these are the common ones.