Hammers & Stars StrategyOverview
This script trades basic hammer and shooting star candlestick patterns.
It's an extremely simple strategy with minimal filters, and according to my personal manual backtesting and automated trading results, performs best on the Daily chart on certain forex pairs.
It is intended to be traded on the forex markets but theoretically should work on all markets (especially if you optimize the settings).
The script also comes with complete AutoView automation for Oanda.
Make sure you've connected AutoView to TradingView and Oanda, then simply set an alert using the "alert() function calls only" condition and it will automatically execute trades based on whatever settings you've selected (only recommended for experienced traders - use at your own risk!)
If you're not sure how to set up AutoView, search "The Art of Trading AutoView Guide" on YouTube to find my detailed video guide.
Check out my website and YouTube channel for more information, scripts, resources and free Pine Script & trading lessons (link in my profile).
Best of luck with your trading!
- Matt / The Art of Trading
Settings Menu
Tooltips are included explaining what the various settings do, but here's a quick summary:
Strategy Settings
>= ATR Filter: Minimum size of entry candle compared to ATR
<= ATR Filter: Maximum size of entry candle compared to ATR
Stop Loss ATR: Stop loss multiplier (x ATR)
R:R: Risk:Reward profile
Fib Level: Used to calculate upper/lower third of candle. (For example, setting it to 0.5 will mean hammers must close >= 50% mark of the total candle size)
Start Date Filter: Date & time to begin trading from
End Date Filter: Date & time to stop trading
AutoView Oanda Settings
Use Oanda Demo: If turned on then oandapractice broker prefix will be used for AutoView alerts (demo account). If turned off then live account will be used
Use Limit Order: If turned on then AutoView will use limit orders. If turned off then market orders will be used (recommended to use limit order to mitigate spread issues)
Days To Leave Limit Order: This is your GTD setting (good til day)
Account Balance: Your account balance (used for calculating position size)
Account Currency: Your account balance currency (used for calculating position size)
Risk Per Trade %: Your risk per trade as a % of your account balance
Candlestick analysis
MOM+RSI StrategyThis is a momentum based strategy which generates signals when the price moves with momentum in either direction. This strategy works well on liquid stocks. Its not necessary to close the trade as soon as the close signal is generated and one can wait for the price to move in the direction as indicated by the prior signal unless price starts to go in the opposite direction. The best set up for a trader is his/her own set up and hence it is recommended to use this strategy with your set up/research.
Trailing EngulferTrailing Engulfer is a price action strategy that uses trailing orders that makes use of any timeframe although shorter timeframes are typically used with price action trading. due to it being price action related, there are some differences needed when trading with different assets. This strategy is recommended to be used for stocks and futures only although it can be used on others. There are two specific inputs that pertain to futures: trailing trigger and trailing offset. Futures price changes in ticks and tick values are supposed to be used here, whereas the percentage fields are primarily for stocks.
Inputs:
Futures: Trailing Trigger - used for futures only and the value represents the number of ticks you wish for a trailing order to enter. For example: if set to 4 ticks, the trailing stop will not be created until after 4 ticks of profit has been reached.
Futures: Trailing Offset - used for futures only and the value represents the number of ticks you wish the stop to trail the price. For example: if set trigger is set to 4 and offset is set to 3, then the trailing stop order will be created once a profit of 4 ticks has been reached and the trailing stop will be 3 ticks against you.
Max Loss (%) - used for stocks only and the value represents the maximum loss you are willing to take in case the trailing stop hasn't yet been made. For example: you wish the trailing stop to be created once it has made 1% profit. If it never reaches that, it will close at this Max Loss value.
Trailing Trigger (%) - used for stocks only. It works similar to the futures trigger other than the fact that it uses % rather than ticks.
Trailing Offset (%) - used for stocks only. It works similar to the futures trigger offset other than the fact that it uses % rather than ticks.
Futures also have a "Max Loss" but it is not user defined. For futures, the max loss is not based on a tick loss but rather entirely on the asset's price action.
Futures also makes use of shorting.
Candle checker for long/short for scalping/day tradingHey.
This strategy is still in working.
For it I check a x amount of candles in the past if they been for example all red/green in row, and based on that I enter. For example candle 7 < candle 6 .... candle 3 < candle 2 .... candle 1 < candle current for long and viceversa for short.
After that,once the trade is initiated, I exit based on 2 possibilities : candle color is different than the color of candle when entry, or based tp/sl.
Let me know what you think of it.
I will try to make the process to calculate automatically and input the number of candles to check like 5-10-15 and so on.
Noro's BottomSensivity v0.6 strategy + rsi + AlarmThe original indicator is Noro's BottomSensivity v0.6
I simply turned noro's bottom sensibility 6.0 indicator, which I consider a great tool to find market bottom, into a strategy.
I also added an additional RSI filter with inputs that can be set by the user for entry and exit from the market.
I have tried to insert an alarm so that I can be notified when this particular purchase condition is formed.
I also tried to insert an additional filter that would allow me to make further pyramid purchases only after a certain percentage of drawdown from the first entry so as to reduce the average purchase price but I was not able ... if someone could implement this I would appreciate it.
Well..this is the first time that I try to program / modify a strategy / indicator, there are certainly some gross errors (as in my English too), please forgive me, I will appreciate the corrections that more experienced users will want to make.
I wish you all a good day, pfjons
Candlestick Signals StrategyThis strategy allows you to pick from 9 different candlestick patterns, and test them against historical data from your chart. You can get a good idea what patterns work best for each chart by turning each pattern on and off in the settings.