Questions for tag "Price crossing EMA" (2)

Votes
Answers
Views
Question
0
votes
1
answer
283
views
asked 5 years ago by
Category: Strategy Guide
I am trying to backtest a strategy of 9/20 ema crossing (buying or shorting on the crossover) and am having a little issue. My code will initiate the initial buy when I want it to but it won't sell out and rebuy when the criteria is met. Any thoughts...
0
votes
1
answer
316
views
asked 6 years ago by
Category: Stock Scanners
Hello Pete, I would like to add a study to a scan. The code of the study should reflect when a green candle crosses the 20 or the 50 or the 200 daily EMAs. The crossing will be valid for any price along the candle (it can cross at high, or low, or cl...