TradingView
HPotter
19 apr 2019 06:08

Combo Strategies 123 Reversal and Absolute Price Oscillator 

E-mini S&P 500 FuturesCME

Beskrivning

This is combo strategies for get
a cumulative signal. Result signal will return 1 if two strategies
is long, -1 if all strategies is short and 0 if signals of strategies is not equal.

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.

Secon strategy
The Absolute Price Oscillator displays the difference between two exponential
moving averages of a security's price and is expressed as an absolute value.
How this indicator works
APO crossing above zero is considered bullish, while crossing below zero is bearish.
A positive indicator value indicates an upward movement, while negative readings
signal a downward trend.
Divergences form when a new high or low in price is not confirmed by the Absolute Price
Oscillator (APO). A bullish divergence forms when price make a lower low, but the APO
forms a higher low. This indicates less downward momentum that could foreshadow a bullish
reversal. A bearish divergence forms when price makes a higher high, but the APO forms a
lower high. This shows less upward momentum that could foreshadow a bearish reversal.

WARNING:
- This script to change bars colors.
Kommentarer
RameshLT
Hi HPotter,
You say Repaint : YES.

Not sure why this would repaint (other than on the 'current' bar) ?
If trade is taken on the bar next to the pos change, I believe it should not have a repaint issue. This is what one would see if a strategy is built with "pos" change. It will be great if you could clarify.
Thanks
smolcompute
@RameshLT, Did you find out if it repaints?
ICEKI
Thank you HPotter =D
HPotter
@ICEKI, You are welcome
upgraDDe
does it repaint?
HPotter
@upgraDDe, Yes.
Mer