SPY Day Trading + Swing Trading Indicators for ThinkorSwim

H

HighBredCloud

Well-known member
VIP
Hmm...I like the simplicity of the indicator...BUT is it just me or does it hit way too late for intraday trading on let's say a 5 min chart comparing it to a 20 period HULL MA? What are the best settings known other than the 19, 39 perhaps that could help with better entries and exits?
 
H

HighBredCloud

Well-known member
VIP
Im beginning to really like the PGO indicator along with some internals.
@J007RMC Haven't tested it yet...I do wonder how it compares to the other Trend indicators and IF the candle paint is sensitive.
 
Brad

Brad

New member
Lifetime
@BenTen thanks for posting this. This seems really simple for someone like myself. i like to trade intraday when i am home but swing trading is better for me. Any suggestion on using anything with it ? Or maybe a screener i can use at nite to find a good setup for this indicator ? Thanks again to all involved @thinkscript
 
Brad

Brad

New member
Lifetime
attached is some charts with shaded highlighted areas of where i am looking go long



Is there a way to combine pocket pivot and the Swing trade indicator from this thread to find breakout trades?



 
Last edited by a moderator:
J

Jim C

New member
Hey guys,

Trying to give back here a little. I modified this strategy to be compatible with mobile. It will work on whatever period you have it on. I work full time and having a screen in front of me is impossible. My plan is to set alerts and use this specifically for stocks on a higher time frame for swing trading options. 1 hour or 4 hour agg. I don't have it coded to add arrows or alerts, modified the period to whatever current period you have it on in the mobile app. Hope this helps someone.
Code:
# Original name: Big_Hand_Arrows_On_Study_w_Agg

# Script by Waylock

# AlphaInvestor - 05/12/2017 - force to weekly aggregation

# Modified by BenTen to work on lower timeframe. Alerts added.

#Modified by Jim C for Mobile and standard period

declare lower;


input fastLength = 19;

input slowLength = 39;

def c = close;

plot Value = ExpAverage(c, fastLength) - ExpAverage(c, slowLength);

def Value_color = if Value > 0 then yes else no;

Value.DefineColor( "ValueUp", Color.GREEN );

Value.DefineColor( "ValueDn", Color.RED );

Value.AssignValueColor( if Value_color then Value.Color( "ValueUp" ) else Value.Color( "ValueDn" ) );

plot ZeroLine = 0;

Value.SetDefaultColor(Color.CYAN);

ZeroLine.SetDefaultColor(Color.YELLOW);

ZeroLine.HideTitle();

ZeroLine.HideBubble();

def xUndr = Value[1] < 0 and Value > 0;

def xOver = Value[1] > 0 and Value < 0;

plot ArrowUp = if xUndr then xOver else Double.NaN;

ArrowUp.SetPaintingStrategy(PaintingStrategy.ARROW_UP);

ArrowUp.SetDefaultColor(Color.YELLOW);

ArrowUp.SetLineWeight(5);

ArrowUp.HideTitle();

ArrowUp.HideBubble();

plot ArrowDn = if xOver then xUndr else Double.NaN;

ArrowDn.SetPaintingStrategy(PaintingStrategy.ARROW_DOWN);

ArrowDn.SetDefaultColor(Color.YELLOW);

ArrowDn.SetLineWeight(5);

ArrowDn.HideTitle();

ArrowDn.HideBubble();

def data = Value;

# Alerts
Alert(ArrowUp, " ", Alert.Bar, Sound.Chimes);
Alert(ArrowDn, " ", Alert.Bar, Sound.Bell);

# End Study
 
J007RMC

J007RMC

Active member
2019 Donor
VIP
@Jim C THANKS. Well I do like simple and this ones for me thanks y'all
 
S

stockminion

New member
VIP
How is your trades so far with this Strategy ?
 
S

saisharan511

New member
Could you be able to integrate the alert for the 9,13,200 EMA to the watch list with specific trend alert?
 
S

saisharan511

New member
@BenTen are you be able to help with same above code modified with alert in a watchlist please?
 
A

Asterick

New member
I can’t find the original post. It’s a simple red/green line with arrows. When green, arrow comes up and vice versa. It does a tremendous job.
I was asking for the Mobile Code for it. Or if any SPY mobile codes that follow a great routine.
 

Similar threads

Top