ionone wrote: Sun Apr 28, 2024 8:43 pm
in the meantime I added a "repaint" value
mrtools wrote: Mon Apr 29, 2024 4:52 am
RSX with TMA
Try!
Thanks to Jeff & Mrtools this is a good open source code which includes a some neat features that novice coders can use as a guide for their own projects:
- Repainting vs Non-repainting eg:
- Repainting (note the minus index in the code)
if (TmaApplyTo==0)
sum += k*rsx[i-j];
else sum += k*signal[i-j];
sumw += k;
- Non-repainting (default)
if (TmaApplyTo==0)
sum += k*rsx[i+j];
else sum += k*signal[i+j];
sumw += k;
- Hidden & Classic Divergences
- Alert code
- Multi-timeframe code
- Interpolation (remove jagged steps) for MTF
Nice one