HPotter

Combo Backtest 123 Reversal & Prime Number Oscillator

This is combo strategies for get a cumulative signal.

First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.

Second strategy
Determining market trends has become a science even though a high number or people
still believe it’s a gambling game. Mathematicians, technicians, brokers and investors
have worked together in developing quite several indicators to help them better understand
and forecast market movements.

Developed by Modulus Financial Engineering Inc. , the prime number oscillator indicates the
nearest prime number, be it at the top or the bottom of the series, and outlines the
difference between that prime number and the respective series.

WARNING:
- For purpose educate only
- This script to change bars colors.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Donate BTC: 13fXLkhWuGMXRmcvwkG2gaWKcnsiD88bwE
USDT (TRC20): TH29EEXa19vfwZNYvxdUuMxoFY5QDYLcWG

Comments

thanks harry am gonna test this
Reply
Thank you Harry!

Got this error. Add to Chart operation failed, reason: Script could not be translated from: pos := iff(close

Any guidance on that? Researching now
Reply
HPotter martinbeechintn
@martinbeechintn, Did you make a changes? Copy\Past or other in source code?
Reply
@HPotter, Just copy and pasted straight in to Pine Editor.
Reply
HPotter martinbeechintn
@martinbeechintn, You should set not equals 4 space before iff(
Reply