Scripting Tutorial 9 - TManyMA Strategy - Long Market Order OnlyThis 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
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 ***
Média Móvel Exponencial (MME)
PtahX EMA/ATR StrategyPtahX EMA/ATR Strategy Public Release
written October 2019
EMA Strategy with ATR & "Fear Factor" built in
* modifications welcome
* please let me know if you improve it so I can continue to learn :)
* use at your own risk - I'm a new programmer and still learning
* Best of luck on your trades!!
// Take Profit (TP) option based on ATR or MA Crossover
EMA X BF 🚀EMA Crossover Strategy
A simple EMA cross is a useful indication of a change in direction of a trend and is a very popular tool in trading. It can also be useful to judge price action momentum or severity by looking at the angle of the 2 EMAs, or the distance between them.
There are 2 Exponential Moving Averages, one fast and one slow. When the fast EMA crosses above the slow EMA, this can be considered bullish and may signal an upside move. Conversely, a cross to the downside of the fast EMA under the slow EMA can be considered bearish.
This strategy uses the same principle but uses different sources for the 2 EMAs; instead of using close values, we use ohlc4 values for the fast EMA and hlc3 values for the slow EMA.
The idea is that a trader might enter a long position upon a cross up and reverse position and go short upon the next cross down.
We use a simple 6% stop loss for both long and short positions.
This strategy is tuned to a 6hr chart for Bitcoin USD pairs.
INSTRUCTIONS
Go Long when the background is green
Go short when the background is red
White background means sideways market: a no trade zone
Renko Strategy with Ema against price crossover/underRenko Strategy with Ema against price crossover/under
MavCrossover v2Simple moving average crossover strategy with
SMA and EMA,
a time window and
the possibility to set the 2nd MA as a factor of the 1st one (to quick cycle through them)
MavXtrenderConverted the B-Xtrender script from Puppytherapy into a strategy script.
B-Xtrender was created by Bharat Jhunjhunwal and published in this IFTA Journal .
I've added the following features:
Ability to use factors instead of individual values for each parameter. This will allow you to quickly check different averages (5 vs 7 for example).
Defaults adjusted for crypto trading (7 days/week).
Switches to use either the short or long term indicator, or both.
Time window
8 On 34 ema'sHi guy's
this simple dude send nice message
consider short/long when 8Ema Cross 34 Ema - If you learn this sutep and clear the false alarms (thats why it's - "consider") you can ride some waves
Enjoy
QuantCat Mom Finder Strategy (1H)QuantCat Momentum Finder Strategy
This strategy is designed to be used on the 1 hour time frame, on all x/btc pairs.
The beautiful thing is it plots the take profit, and stoploss for you for each entry- where I would say use the stoploss for sure and feel with water with how the price action is looking when in profit.
In this strategy, I actually implemented my own trading style into building the strategy. Having to replicate my own trading strategy into an algorithm, I can't make it exactly perfect to how I would trade, but what I can do is try and program the parameters that give it the absolute best chance of making a big move with a small drawdown- which replicates part of my momentum trading style. Here I am using RSI, MACD, EMA and trend filtering values to find moments where there has been a momentum change to play the rest of the move. It only picks the best entries.
There is always a 3-4 R/R move on average with with these trades, meaning 1 in 4 only need to hit to be a break even trader- where most of these strategies have about 35% hit rate.
The stoploss is so crucial to minimise any damage from huge unexpected candles, the strategies can just be used for entries as well, you don't have to stick to the exact formula- of the long and short system, but this by itself is profitable.
The system nets positive results on
-ETH/BTC
-LTC/BTC
-XRP/BTC
-ADA/BTC
-NEO/BTC etc.
We also have a free 15M strategy available too.
You can join our discord server to get live alerts for the strategy as well as speak to our devs! Link in signature below!!!
[M10] Quad MA Trend ScalperFour adjustable moving averages set in order to produce buy and sell signals, works best on smaller timeframes from my backtesting, 10M - 30M seems optimal for scalping.
The idea behind this script is to only enter positions that are following the trend in order to minimise drawdown and decrease risk when using leverage.
The script will only enter long positions when MA crossover occurs above the Long MA 2.
The script will exit a long position when MA Short crosses below Long MA 1.
The script will only enter short positions when MA cross under occurs below the Long MA 2.
The script will exit a short position when MA Short crosses below Long MA 1.
Ema BacktesterA simple, but useful script for backtesting purposes. Find the optimal Settings for your strategy.
tips are always welcome at: 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 (btc)
I hope you enjoy the script :)
EMA CrossoverEMA Crossover
Input Parameters:
Stop loss (ticks) - define stop loss in unit of ticks (*1 tick = 12.5)
Exit signal - 1: When EMA and price crosses
2: When EMA changes direction
Start year, month, day & Stop year, month, day - define backtest period
You can set Order size, Commission in Settings, Properties tab.
Sniper & Strategy SniperTrading permite detectar los momentos exactos de compra y venta obteniendo un buen rendimiento.
Como aplicarlo:
* Realice una compra cuando el indicador de COMPRA aparezca en la pantalla.
* Realice una venta cuando el indicador de VENTA aparezca en la pantalla.