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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?
Donate BTC: 13fXLkhWuGMXRmcvwkG2gaWKcnsiD88bwE
USDT (TRC20): TH29EEXa19vfwZNYvxdUuMxoFY5QDYLcWG

评论

thanks harry am gonna test this
回复
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
回复
HPotter martinbeechintn
@martinbeechintn, Did you make a changes? Copy\Past or other in source code?
回复
@HPotter, Just copy and pasted straight in to Pine Editor.
回复
HPotter martinbeechintn
@martinbeechintn, You should set not equals 4 space before iff(
回复