Can someone please make a williams alligator crossover scan for tos? I would say one for when the green crosses above the green and another for when it crosses below the red. Thanks in advance!
Of course. I wanted a crossover of 3 simple moving averages, each one being the 5 sma with 3 displacement, the 8 sma with 5 displacement, and the 13 sma with 8 displacement. The up arrow would basically come when the 5 sma cross over both the 8 and 13 sma. The down arrow would come when the 5 sma cross under the 8 and 13 sma.
# # TD Ameritrade IP Company, Inc. (c) 2012-2020 # input price = hl2; input jawLength = 13; input teethLength = 8; input lipsLength = 5; input jawDisplace = -8; input teethDisplace = -5; input lipsDisplace = -3; input averageType = AverageType.WILDERS; plot Jaw = MovingAverage(averageType, price[-jawDisplace], jawLength); plot Teeth = MovingAverage(averageType, price[-teethDisplace], teethLength); plot Lips = MovingAverage(averageType, price[-lipsDisplace], lipsLength); Jaw.SetDefaultColor(Color.BLUE); Teeth.SetDefaultColor(Color.RED); Lips.SetDefaultColor(Color.GREEN); plot UpSignal = if Lips crosses above Jaw then low else Double.NaN; plot DownSignal = if Lips crosses below Jaw then high else Double.NaN; UpSignal.SetDefaultColor(Color.MAGENTA); UpSignal.SetPaintingStrategy(PaintingStrategy.ARROW_UP); DownSignal.SetDefaultColor(Color.CYAN); DownSignal.SetPaintingStrategy(PaintingStrategy.ARROW_DOWN);
What chart settings are being used to set a chart for trading like chart pictured above the SPY trade?Very nice, Ben. Looks super clean and professional, I appreciate it. Also, I'd like to share some results that I back tested the other day, I hope it helps anyone who's looking for a new strategy when it comes to trading.
The reason why I was looking for a script for this Alligator Strategy was because I read into someone using it with great success; it seemed very easy to follow and very concise, even when I looked back at the previous entry and exit points from months ago.
Basically, with this strategy, you would wait until the 5 ma crosses under or over both the 8 ma and the 13 ma; but as you can see in my picture, you would've missed most of the move. After reading more into this strategy, I found someone who has found a solution for not having to miss the move.
In the picture you will see:
1. 3 Smooth Moving Averages: 5 with -3 displacement (green) 8 with -5 displacement (red) and the 13 with a -8 displacement (blue)
2. Two Ovals: 1st one being my entry point and the 2nd being my exit point
3, Magenta Down Arrow: Representation for when the 5 ma crosses under both the 8 and 13 ma
As I said before, usually your entry point would be when the 3 moving averages cross, but you would miss most of the move; the exit would be when the candles close back into the moving averages (aka the gator).
To avoid the miss of the move, you would want to enter the trade when the candle crosses and closes above or below the whole gator instead. At the same time, you would need to make sure your MACD is following the trend of the candle. As you can see, the MACD is converging towards the down side, which means it's a strong signal and you can buy.
Traded options the other day on the SPY, and although the trade took up some time, the result was about a $125-$150 gain per contract.
I got this specific strategy from a user on reddit that goes by: rogerdog1 if anyone was wondering.
|Thread starter||Similar threads||Forum||Replies||Date|
|B||New to Coding, any help on a simple Williams R Buy at -80 and Sell at -20?||Questions||6|
|F||How to plot buy/sell arrows on Williams %R?||Questions||4|
|P||Larry Williams' "Willspread" Indicator for Thinkorswim||Indicators||8|
|H||Bill Williams Green, Squat, Fade, Fake Bars and Zone Bars for ThinkorSwim||Indicators||31|
|Bill Williams Squat Bars for ThinkorSwim||Questions||5|