Software part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector...
This strategy analyzes the three and four-bar play which is when price action has a wide igniting bar that has a full body, then one or two narrow bars which have a relatively equal high for long plays and relatively equal low for short plays, then a continuation bar. You should not take plays that will encounter resistance. The stop loss is placed for long plays...
"Inside bars are a two -bar pattern. They can indicate either a continuation of the existing move or a reversal. A continuation occurs when there is no significant support or resistance level in sight, while a reversal occurs close to a strong sup- port or resistance level... ...A lot of traders are aware of inside bars but few manage to make money with them....
Hey traders! This is a profitable strategy script I created to teach my students how to automate their scripts using 3rd party APIs (more info available in my profile link at the bottom of this page). What Is This? This strategy is called the "Follow The Bear" strategy. It's a forex trading strategy designed for one purpose and one purpose only: to take...
Extension of the built-in strategy by TradingView. The strategy buys after an X amount of consecutive bullish bars and viceversa for selling. This logic can be reversed and a Stop Loss with Take Profit can be added. There's also an option to adapt the SL into a Trailing Stop.
Based on the calculations by ZenAndTheArtOfTrading. I added stop loss, take profit and reverse code lines. The Positive Bars % calculates the number of green (positive) bars, relative to a look back period, defined by the user. If the percentage is low, it means that there was a bigger number of red candles in the lookback period. The strategy goes long when the...
This is a strategy to complement the 2GT indicator. It utilises the same rules as 2GT. This is comprises of multiple popularly used indicators to help decide on whether to go long or short. This indicator will overlay the MA lines and background colours on your chart. The heikin-ashi colour will be shown as the background colour. This will help you identify a...
// This strategy detects and uses big bars to enter a position. When the Big Bar // is bearish (red candle) the position will be long and viceversa // for short positions. The stop loss (optional) is placed on the low of the // candle used to trigger the position and user inputs allow you to modify the // size of the SL. Take profit is placed on a reward ratio...
simple script. enter rule is open>open =BUY_else_SELL (open means open price 1 candle ago, so basically its if price now greater than price 1 candle ago...) exit rule is Trailing Stop. 1 trade per candle, here on daily chart BTCUSDT with binance commision included in result. 254 million percent profit.... 😲
Converted EmperorBTC's EMA crossover indicator for easy backtesting and added ability to: Specify time period for backtesting Specify order quantity Toggle original indicators (default off) Quoting EmperorBTC: Entry is to be made when the 1. Cross over gives a P(Positive Sign) and the candle completely closes above the cross-over 2. When the Heikin...
Overview 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...
This strategy uses the tradingview built in candlestick recognition.
Hi, today I bring you a price action strategy/indicator for Forex, made out for Marubozu candle type. For the entries of it check if we have a long or a short marubozu. For exit we have for long when the actual candle is green and the last previous two were red. For exit we have for short, when the actual candle is red and the last previous two were green. If...
This is a simple strategy based on Doji star candlestick This strategy is suited for big time frames, like 4h -1Day and so on. It places two orders: long at doji star high or previous candle high and short at doji star low or previous candle low. It can also be applied volume average, in order to filter between trades . This strategy works very well with high...
After studying several other scripts, I believe I have found the Holy Grail! (Or perhaps I've just found a bug with Tradingview's Pinescript v4 language) Anyhow, I'm publishing this script in the hope that someone smarter than myself could shed some light on the fact that adding a trailing stop to any strategy seems to make it miraculously...no that's an...
This can be perceived as modified 3 soldiers, relaxed NR4 or even extended harami candlestick pattern. Works for any instrument and any timeframe. The idea is to find out any number of candles having their individual highs and lows, all within high and low range of base candle. The count of soldiers and if they must be of same color, both can be...
The reversal closing price (RCP) is a candlestick pattern which follows two simples rules: the low price of current candle needs to be lower than the low price of the last 2 candles the closing price of current candle needes to be higher than the closing price of the last candle This generates a signal for a long position. For a short position, the...
A "Gap down Reversal" is when the current days candle, opens, below the prior days close, and "finishes up" on the day with the close greater than the open. This type of price action can provide traders with favorable entry points to trade long, as anyone who was short the prior day, can get squeezed or panic out of the trade as they would see profits erode...