Please help. I'm trying to simply make a buy strategy if the current bar closes below 75% of the previous bar. My code below does not work and would appreciate your guidance please.
priorday = Ref(c, -1);
calculate = (-.25 * priorday);
buy = calculate
priorday = Ref(c, -1);
calculate = (-.25 * priorday);
buy = calculate