SMA Period Test for crossover not possible?
2 weeks ago #281473
I want to make a simple test on daily under builder which finds the best crossover(close,sma) for long and crossunder(close,sma) for short.
Test from 8 – 250 MA
Is this actually not possible?
2 weeks ago #281488
simply setup such system in AlgoWizard.
You can later load into Optimizer to find the best parameters for the cross
2 weeks ago #281505
Hey thanks, I tried in AlgoWizard to create this, there seems to be an error, can you help me? Thanks
2 weeks ago #281508
1 week ago #281639
the strategy is fine seems. The problem is a missing exit. It opens an initial trade which is never exited. Do you plan to reverse an open existing position on the opposite signal?
2 days ago #281684
Thank you for your answer.
I think I wrote it wrong.
Better would be: Only long and that with:
LONG = ta.crossover(close, SMA) and close (exit) = ta.crossunder(close, SMA)
How could you implement this? can you help me make a sqx file?
Viewing 6 posts - 1 through 6 (of 6 total)