Scripting Tutorial A - TManyMA - StopsThis script is for a triple moving average strategy where the user can select from different types of moving averages, price sources, lookback periods and resolutions.
Features:
- 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually.
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish, bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter. Twitter should be linked to my profile.
- Ribbons added and on by default. Optional setting to disable the ribbons. 5 ribbons between MA1 and MA2 and another 5 between MA2 and MA3.
- Ribbons are alpha-color coded based on their relation to their default MAs.
- Ribbons are only visible between MAs if the MAs being compared share the same Type, Resolution, and Source because there is no way to consolidate those three in a simple manner.
- Ribbon values are calculated based on calculated MA Periods between the MAs.
- Converted the existing study into a strategy.
- Strategy only enters long positions with a market order when MA crossovers occur.
- Strategy exits positions when crossunders occur.
- Trades 100% of the equity with one order/position by default.
- Ability to disable trading certain crosses with input checks.
- Ability to exit trades with a take profit or stop loss.
- User input to allow quick changes to the take profit or stop loss percentages.
This script is meant as an educational script with well-formatted styling, and references for specific functions.
*** PLEASE NOTE - THIS STRATEGY IS MEANT FOR LEARNING PURPOSES. DEPENDING ON IT'S CONFIGURATION IT MAY OR MAY NOT BE USEFUL FOR ACTUAL TRADING. THE STRATEGY IS NOT FINANCIAL ADVICE ***
Profit
[astropark] Super RSI [strategy]Dear Followers,
today a new Scalper Tool , which works great on 3 minutes and 5 minutes timeframes , but also down to 1m and up to 30m!
I called it " Super RSI ", as it is based on RSI and inherits some basic functionality from it.
If you check its settings, you will see that you can have 3 different buy-sell sources (first two are active by default):
STRONG BUY/SELL : buy when white area deeply falls into oversold-red zone and sell when white area gets into overbought-green zone (you can set and edit at which level oversold and overbought zones start);
CROSSES : buy when the black RSI line in the middle between red and green area cross under the buy cross limit value and sell when it crosso over the sell cross limit value (you can set and edit specific cross ranges for both buy and sell);
WEAK BUY/SELL : buy when green area at least go below 50 level and sell when red area at least goes above 50 level (you can edit both levels); these conditions are highlighted as background color and are very useful for taking (at least partial) profits in trades.
By default the script will be placed as oscillator on a specific pane below the chart, but
> you can disable the oscillator plot by enabling the "hide all plot" option
> and place it as overlay on chart by clicking on the black arrow at then end on the indicator name in chart and selecting "move to -> existing pane above"
This strategy can trigger till 10 buy or 10 sell signals in a row before reverting, so use a proper money management .
Strategy results are calculated on 20 trading days using 1000$ as initial capital and working at 10x leverage.
The user who wants to use this strategy, especially via an automated bot, must always set a stoploss at 3-5% from entry point or use a proper risk management strategy .
This is not the "Holy Grail", so use it with caution.
This script will let you backtest the strategy and find best settings for your preferred market.
The alarms script version of this indicator, which will let you set all notifications you may need in order to be alerted on each triggered signals, can be found by searching for " Super RSI".
This is a premium indicator , so send me a private message in order to get access to this script .
Extreme ScalpingThis is a test of an easy scalping method: buy if actual close is below forecast close and sell if actual close is above forecast close. Take profit and stop loss shall be very small (few pips) as in most of scalping strategies.
No filter is used for only long or only short positions, but you can select buy only or sell only based on other indicators or whatever you feel is the direction of trading.
NOTE: you can add this strategy to your chart but you should modify the backtest day otherwise you will get an error due to calculation limits of pine script. For example, on one minute chart, you should set the backtest day from today only. For past days, set both start day and and day.
I have also a study with alarms.
Please use comment section for any feedback.
Ultimate Pullback StrategyWhat is the Ultimate Pullback Strategy?
This strategy script is based on my Ultimate Pullback Indicator which detects pullback trading opportunities by analyzing price action in a very specific manner.
By combining simple trend filters with various advanced candlestick patterns it detects high-probability trend-continuation setups (and optional exits).
If you use this script to set alerts then you will never miss a pullback trading opportunity ever again!
I personally use this indicator to profitably trade pullback signals in the forex markets on multiple timeframes, from the 15-Minute chart to the 4-Hour and Daily chart.
Note: This strategy companion script is only available for subscribers of The Ultimate Pullback Indicator.
Long Short Double strategyLong Short Double strategy
Long short strategy with stoploss and take profit.
I use this script for 5min btcusd on Bitmex. (The strategy also works on other exchanges, with some small adjustments in RSI)
Leverage 10x 375% profit in 2 weeks. NO REPAINT.
U can Adjust the RSI for long and shorts entry`s.
Study is Autoview ready. send me a PM for Paid access.
If you like this strategy buy me a Pizza, Dinner, or lambo:)
BITCOIN: 3BMEXTEMinsUUqUwr9GEjNA6ZBsVXB1g6u
LITECOIN: LdG82pyEMMji9Bynw3hvWgUshbMKfiFdJw
The Rocket : Profit Factor [Bradford_Fournier]The Rocket
I hope this helps you as much as it has me.
Suggestions:
Use with tech stocks with reasonably high volatility
Time-frames are flexible but a 1-3month window is best.
REQUEST: If you find this useful, please let me know. I'd like to improve this script further. Any suggestions or encouragement are greatly appreciated
The rocket is based on my Trend Shift Indicator. Please take a look if you haven't yet.
B3 MTF OHLCMy idea by using Linear regression and some other filters. Great results without repaint :)
11.01.2017 XBTUSD FinalThis script has been developed by me since the beginning of 2017 and at the moment I present its best version. Due to the fact that I am planning to create my own project based on this algorithm, I will open access to use it for everyone for a moderate reward. The collected funds will be used to ensure the promotion of the project and the improvement of the current algorithm.
MA cross strategyThis strategy uses simple moving average cross for entry signals, but it can be customized with 3 cases:
1- exit at take profit and stop loss;
2- exit when distance between close and moving average is above a user defined minimum;
3- use Renko candles to calculate the moving average without changing the graph candles.
The third case is the one with better results, but for non-pro users can be used only with daily time frame.
Look at profit factor and percent of winning trades.
You can test also on your favorite pair, but most important is setting correct brick size.
At request, I could share also a screener with alarms for finding which symbol statisfy entry rules.
Please use comment section for any feedback.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4): results of expert advisor form 2015-01-01 to today are very good with low drawdown and good profit.
********************************************************************************
Simple Stock StrategyThis is a simple and easy to use strategy for low-volatility stocks. It prints a BUY or SELL signal to alert you that certain conditions have been met. I use it as a time saver to help identify which charts I need to look at. You can adjust the inputs and properties to suit your needs. I would suggest allowing two or three orders.
BUY Signals
MACD Above 0
SMA Cross
Big Green Candles
SELL Signals
Profit Target %
Stop Loss %
Scalping Grid at Pivot Point FibonacciThis strategy sets a grid of stop orders once price touch one Fibonacci weekly pivots.
This works very well for scalping as the price touch a pivot level.
Take care when you work with grids because drawdown could be very high.
Study with alarms is available at request.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4) and for jforex platform: results of expert advisor form 2015-01-01 to 2018-11-25 are very good with low drawdown and good profit.
********************************************************************************
13utc EUR/USD TariHi guys,
this new strategy is on 1hr chart eur/usd.
It's very easy to follow, becuase you will get 1 signal at 13Utc (1pm utc)
You have only to set Stop Loss @50 and Take Profit@60 (pips not ticks!), but to avoid mistakes green or red lines will appear on the chart to have a better view of Sl and TP.
So, what more? Nothing! Subscribe!
Enjoy your Wallet!
Tari.
GbpUsd 12utc limitHi guys,
this strategy is a development of 12utc. I used some more filters to have less false entries. So of course getting less signals the net profit is going to be smaller, but the profit factor increased.
Everyday at 12 utc check the chart for a signal. If it appears you can set the Stop Loss 30 pips and Take Profit 120 pips from the open of the candle, and let it run! Green and red lines will be generated to see these limits.
In this strategy, running on 1hour chart gbpusd, I set 4 pips of spread. The equity line comes with a stop loss of 34 pips and a take profit of 116 pips, and this is you see 4 pips of gap between the limit lines and the closin price.
Subscribe to use it!
Enjoy your wallet!
Tari.
GBPUSD 12utcHi guys,
this is 1hour chart gbpusd strategy.
You will get a signal (long or short) at 12utc, and some corsses will appear to sel Stop Loss and Take Profit (green for the long positions and red for the short ones). After one hour the crosses will become lines, and if none of them will be hit, you will have to close manually from 11 to 12 utc of the day after.
This strategy closes the position at 11utc, but feel free to close it even a few seconds before 12utc, so you will watch this chart only once per day.
To get this strategy subscribe!
Enjoy your wallet!
Tari.
Intraday Buy/Sell signals for CrudeoilHi Everyone,
This is higly tuned intraday Buy/Signal generator for Crudeoil. It works on any time frames below 30 mins. But, the best setting is 15 mins.
How to use:
1. Just, apply this strategy to your crudeoil WTI instrument
2. Set your time frame to 15 mins
3. Buy the instrument whenever buy signal generates / Sell the intrument whenever buy singal generates
4. Strategy itself has 0.5% stop loss generating signals. But, create stop loss of 0.5% after buying/selling the instrument
5. Finally, whenever close signals triggers, just close the trade.
Note: Please try with only one lot at the beginning. If everything goes well after testing, mulitple lot can be used.
Disclaimer:
This strategy is for testing purpose only. Any profit/loss to the user's capitla is subject to market risk. And, the creator of this script is no where responsible.
GBPUSD INTRADAY 12/16utcHi guys,
this is my new super easy strategy, on GBPUSD 1 hour chart it gives its best.
12-16utc means: at 12 utc watch the chart to see if to open a position (long or short). If a position has been opened close at 16utc.
So basically you have only to rememeber to check the chart at 12 utc. You can set a SL @50pips, and a TP @100pips, but the strategy runs without them, so feel free to use them or not.
This strategy has an "easy view mode": you can choose wether use it on mobile chart to have a better view. Using "easy view" you will see only the bars in trading session from 12 to 16 utc. Otherwise you can have the reguar chart.
Subscribe for only 20€/month and
Enjoy your Wallet!
Tari
ADX+DI+SUPERTREND StrategyThis strategy is a port of famous script from MasaNakamura ADX and DI.
Here is the exact startegy from original study from MasaNakamura MasaNakamura at
In this version, I added also SUPERTREND as filter!
Scope of this port is to identify corrects inputs to get best results from signals that indicator gives.
I added the possibility to choose stop loss and take profits and to smooth the results also with heikin ashi candles.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4) and for jforex platform: results of expert advisor form 2015-01-01 to 2018-11-25 are very good with low drawdown and good profit.
********************************************************************************
ADX and DI StrategyThis strategy is a port of famous script from MasaNakamura ADX and DI
Original study from MasaNakamura MasaNakamura at
Scope of this port is to identify corrects inputs to get best results from signals that indicator gives.
I added the possibility to choose stop loss and take profits and to smooth the results also with heikin ashi candles.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4) and for jforex platform: results of expert advisor form 2015-01-01 to 2018-11-25 are very good with low drawdown and good profit.
********************************************************************************
Renko Strategy Open_CloseSimple Renko strategy, very profitable. Thanks to vacalo69 for the idea.
Rules when the strategy opens order at market as follows:
- Buy when previous brick (-1) was bearish and previous brick (-2) was bearish too and actual brick close is bullish
- Sell when previous brick (-1) was bullish and previous brick (-2) was bullish too and actual brick close is bearish
Rules when the strategy send stop order are the same but this time a stop buy or stop sell is placed (better overall results).
Note that strategy open an order only after that condition is met, at the beginning of next candle, so the actual close is not the actual price.
Only input is the brick size multiplier for stop loss and take profit: SL and TP are placed at (brick size)x(multiplier) Or put it very high if you want startegy to close order on opposite signal.
Adjust brick size considering:
- Strategy works well if there are three or more consecutive bricks of same "color"
- Expected Profit
- Drawdown
- Time on trade
This strategy uses Renko charts with TRADITIONAL bricks, so no repaint.
Study with alerts, MT4 expert advisor and jforex automatic strategy are available at request.
Please use comment section for any feedback.
Strategy based on Squeeze Momentum Indicator [LazyBear]This Strategy is based on LazyBear Squeeze Momentum Indicator.
I added some custom feature and filters.
You can customize a lot of features to get a profitable strategy.
Here is a link to original study.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4) and for jforex platform: results of expert advisor form 2015-01-01 to 2018-11-25 are very good with low drawdown and good profit.
********************************************************************************
MondayOpen Gap strategyThis strategy open orders on first bar of the week if there is a gap with Friday close price.
First bar could be on Sunday or on Monday, it depends on broker time.
Adjust starting hour with broker time. Use arrows to help finding correct broker time.
Also you should adjust gap size and exit hour.
Do not place on Daily charts.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4) and for jforex platform: results of expert advisor form 2015-01-01 to 2018-11-25 are very good with low drawdown and good profit.
********************************************************************************
Doji strategyThis is a simple strategy based on Doji star candlestick.
It places two orders: buy stop at doji star high or previous candle high and sell stop at doji star low or previous candle low.
Exit rules are with take profit and fixed stop loss or take profit and stop loss at doji min or max.
This strategy works very well with high time frames like Daily and Weekly because those are without noise in doji formation.
Each currency pair has its own optimal setting for TP and SL: it's up to user find the best ones.
I could implement SL based on ATR, maybe in next revision.
Please use comment section for any feedback.
Next improvement (only to whom is interested to this script and follows me): study with alerts on multiple tickers all at one. Leave a comment if you want to have access to study.