Simple Strategy Code StubThis is a very basic strategy implementation
Use as a code stub for your strategy code. I wrote it because I could not find one.
This particular strategy goes long on Tuesdays at 10 am and goes short at 3 pm on Thursdays.
Because US markets open at 9:30 you have to have your chart in 30 minute or less resolution for trades to fire.
You can gut that code and replace it with your own to start testing your own indicators and strategies.
If you build a strategy that doesn't use "hour" like I have this resolution requirement won't apply.
For giggles, compare its performance to other strategies. Weird, huh? About 53% effective on most equities and indexes.
This strategy does the minimum needed to get a strategy working
and uses default position sizes and buys at market with no stops.
Again, it is the minimal code stub needed to test an indicator/rule based strategy.
A great code reference for building more sophisticated strategies can be
found here =>
The code is written by @greatwolf and is very well structured for anyone looking to fully utilize
strategy features for position sizing, limit orders, stops and cancellations.
Strategies
UCS_S_Stochastic Pop and Drop StrategyMy Contribution to Jake Bernstein Educational Series, Initiated by Chris Moody.
The Stochastic Pop was developed by Jake Bernstein and modified by David Steckler. Bernstein's original Stochastic Pop is a trading strategy that identifies price pops when the Stochastic Oscillator surges above 80. Steckler modified this strategy by adding conditional filters using the Average Directional Index (ADX) and the weekly Stochastic Oscillator.
Modifications
1. Weekly Stochastic Oscillator for Trading Bias = 5* Daily Stochastic
2. Optional Volume Confirmation, Custom Average Volume Length
Future Plans
1. Adding Triggers for Entry, Stops and Target. - This will be release when we have ability to code the complete Strategy. Although it can be done with the current pinescript options, it would be far more easier if we have strategy ability.
Link for Educational Purpose
stockcharts.com
-
Good Luck Trading
UCSgears
TSM Donchian Moving Average System_by_ucsgearsThis is just the raw code for the system / strategies.
Will Complete this when I get more time.
Green - Setup Long
Red - Setup Short
UCS_S_Steve Primo - Strategy #5 (FOREX Only)Here we have another Steve Primo Strategy ( #5)
This is a short term, trend continuation strategy, Recommend using this on 30 Mins + time frames.
I have added few things.
1. PET-D filter, to identify the trend along with the SMA 50. ----> Setup in line with PET-D (EMA,15) trend confirmation.
2. Option for Harami Candle identification (may not be Steve Primo Setup), There is no evidence on any of the videos listed below for Harami or other candlesticks pattern.
Future - Planned to add other candle patterns.
Videos from Youtube
1. www.youtube.com -
2. www.youtube.com - Hints disclosed on this video.
3. www.youtube.com - Claims this is his GO TO strategy for FOREX.
4. www.youtube.com - Complete Free Lesson.
Note - I did not buy this Strategy, I do not own in any way shape or form of this strategy as presented in the videos, The Strategy I am posting is my interpretation based on Steve Primo's videos listed above and few more on youtube.
Good Luck folks.