Easy System 420In this strategy, 15 indicators are used, each giving its results as a numerical value, which then is added or subtracted from the total points, gathered from all 15 indicators.
Many thanks to RafaelZioni for his great work making the EasySys1 script which i modified to create this script.
Onchart is drawn some of the indicators, but not all, a info panel is drawn showing the value each indicator has calculated. The info panel can be turned on or off.
Many of the indicator settings can be changed by user, and this is recommended, to tune the strategy to users chosen pair/timeframe.
Therefore any pair or timeframe can be used, the strategy tester results showing possible results, remember to set commission to match your broker. example chart settings here have common crypto exchange commission value: 0.25%
indicator list : SAR + STT + ZigZag + ROC + DMI + CCI + Weis + SMA + AO + MOM + Hist + BB + Ichimoku + HMA
HMA
HULL MACDA modified version of MACD.
Uses Hull moving average for the signal line instead of your typical EMA.
Can be used as a crossover strategy with decent win rate.
Alternatively, can also be used for histogram divergences.
Try it out! :)
HMA & D1 crossoverCan work on Forex if change equity currency and SL and TP etc
This example tuned for ETH/BTC
Enters on HMA (Hull Moving Average) and D1 (Daily Candle) crossovers, Exits basket when profit = TP (Target Profit)
Has Commission and slippage added, test equity at 1 BTC lotsize set too 1% of equity for each order
Hull Moving Average based strategyThis is a simple Hull Moving Average based strategy using a short term HMA for signal generation and a long term HMA for filtering purposes.
A long entry is generated if the short term HMA changes direction from decreasing to increasing values and if the long term HMA indicates an uptrend (i.e. previous value < current value)
A short entry is generated if the short term HMA changes direction from increasing to decreasing values and if the long term HMA indicates a downtrend (i.e. previous value > current value)
Positions are closed using an ATR based stop loss/take profit system. Stop Loss (red) and Take Profit (blue) levels are plotted on the chart.
Hull Moving Average Swing TraderHull Moving Average Strategy
2 X HMA's,
1st HMA on current price (recommended source OPEN)
2nd HMA on previous candle. signal on crossover.
Buy and Sell signals on chart, red & green view pane (Green Buy, Red Sell)
No Nonsense NNFX VP Strategy for Back Testing | jhMy first script, be kind :)
Most of the rules are implemented:
- Money management
- ATR, Baseline, Confirmation, Volume, Exit
More details below.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Designed per No Nonsense Forex VP rules
//Made to be as modular as possible, so we can swap the indicators in and out.
//Originated from causecelebre
//Tried to put in as much VP rules as possible
///////////////////////////////////////////////////
//Rules Implemented:
///////////////////////////////////////////////////
// - SL 1.5 x ATR
// - TP 1 x ATR
//
// - Entry conditions
//// - Entry within 1 candles of baseline + 1 x confirmation + volume
//// - Entry only if baseline is < 1 x ATR
// - Exit conditions
//// - Exit on exit indicator or when baseline or confirmation flip
///////////////////////////////////////////////////
//Trades entries
///////////////////////////////////////////////////
// - First entry L1 or S1 with standard SL and TP
// - Second entry L2 or S2 with standard SL and exit upon the exit conditions
///////////////////////////////////////////////////
//Included Indicators and settings
///////////////////////////////////////////////////
// - Baseline = HMA 20
// - Confirmtion = SSL 10
// - Volume = TDFI 4
// - Exit = RVI 4
///////////////////////////////////////////////////
//Credits
// Strategy causecelebre
// TDFI causecelebre
// SSL Channel ErwinBeckers
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
HMA_ATR_TSIA combination of signals trigger this strategy.
HMA crossovers (short period & long period) -Hull moving average-
ATR (smoothed with HMA) -Average true range-
TSI -True strength index-
The final close price is not known until right at the end of the bar.
This means that the indicator is constantly “repainting” during the bar.
You will see that indicators are constantly moving with each tick received
Use Open instead, the value is set and does not change even after refreshing the page.
An attempt to reduce repainting.
RSI TSI StrategyRSI & TSI combination, with Hull MA for a center Line.
Order entry with either RSI TSI or Hull MA
Experimental strategy for possible use as bot
inwCoin HMA + EMA StrategyJust simple HMA + EMA120 strategy
Work well with TF 2H
Tried BTC on OKex and Bitmex and it looking good.
Best for hand trade.
If you want to try, just comment, i'll grant you a permission for 2 days
inwCoin SUPER HMA StrategyImproved version of inwCoin HMA Aggressive Strategy.
Filter out random trade from sideway period and wait for trend only.
Work very well on BTCUSD3M at OKEX with leverage 20x ( with the help of trailing start/stop bot, of course )
If you have OKex bot/ Or plan to write one. This strategy is the best bet.
If you want sourcecode, I can give you for 0.1 BTC :) Send BTC to address below and IM me for acknowledgement.
BTC : 3BmqVW8eqE3qAGdtCdYGFYKbMwEALAhSEp
Check some backtest result here : imgur.com
Backtest result for various trade% : imgur.com
Hull & Candle CrossoverA Hull moving average and candle crossover.
(2 hullMA's and present to past candle value calculation and smoothing function)
Enters order on Hull1 vs Hull2 crossover, Exits order on Price vs Candle crossover
Strategy looks at the previous(1) candle value to calculate current price so it lags 1 candle (to avoid repainting)
Any timeframe and pair ok, just change settings to suit
commission is included in the default result
inwCoin HMA StrategySuper duper strategy using HMA ( Hull Moving Average ) 10 and 50 for decided entry ( short / long )
There are 2 type of strategies, you can choose with checkbox.
(1) Aggressive Strategy Ticked
* If ticked, strategy will enter position again if the condition met. ( both line red ) after Taking Profit ( or Stop Loss )
* It will use trailing start/stop so the profit is kinda crazy ( and yes, impossible in real world lol )
* The problem is, it will enter position like crazy and you might get a lot of loss from fee
(2) Aggressive Strategy not Ticked
* It will enter once only ( HMA10 just changed color to the same as HMA50 )
* If TP or SL already, it will wait for next signal
* Less trade, less profit, but safer. ( wait for right signal )
** For Aggressive Strategy, you can't select the date from 1/1/2018 because the trade record is way too much .... lol
** You can experiment yourself with other exchange/coin as your like.
=============================================
Test Data Detail
=============================================
Exchange : OKEX
Coin : BTCUSD3M
Timeframe : 1H
Date range : 2018/2/9 - 2019/1
For : Trailing with bot ( If you have one :P )
Config
Trade % = 20 ( You can increase trade size of your total port but it will get you into more risky trade. ( but yes, more profit ) ... u can increase trade size if you have enough profit
Trailing Start = 20 ( If you can write bot, it will start trailing when the profit % reach this value )
Trailing Stop = 5 (If you can write bot, it will take profit if the profit drop below this value from trailing start.)
Take Profit = It will set fixed TP for whipsaw case ( rarely reach this target )
Stop % = 50 ( so this trade is RR = 2 nice! )
Leverage = 20 ( so we can withstand the price fluctuation and not get liquidated, if you trade spot, please choose 1 also, please adjust TP and stop accordingly eg. leverage 1 / TP = 20 / SL = 10 )
Trade Direction = Both ( for margin market, if you want to trade spot like Binance you can choose long only )
Hull 1 Length = 10 ( Fast HMA length)
Hull 2 Length = 50 ( Slow HMA length)
Hull trend test length = 2 ( hull test range for rising or down trend )
Aggressive Strategy = YES ( enter next position if condition met immediately )
Hull_TSI Strategy v3True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses 3 Hull MA's as well as the TSI value crossovers above or below the upper/lower lines
This version is the closest to the API bot featured at gekkoplus.com
Hull_TSI bot is competing in the competition
" Gekko Plus is hosting a strategy contest. Submit the best performing Gekko strategy and win 0.1 BTC! "
15 Nov 2018: Strategy contest start
10 Dec 2018: Strategy contest end
12 Dec 2018: Contest evaluation, announcement of winners!
Hull_TSI Strategy v2True Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
this version uses only the crossover of the TSI values
HMA 55/80 Crossover Strategy - Multiple Crossing OptionsThis strategy concept is from ismail_tarim on TradingView, and on Twitter as @ismailtarim977. It is intended to be implemented on the daily chart . The original strategy is reflected, to the best of my ability and understanding, in the default settings.
There is an option to toggle plots being displayed. The plots accurately indicate when the events take place, rather than the delay from the strategy display.
// SYMBOL LEGEND //
Green 'X' indicates when price crosses up the desired HMA .
Green 'Up Arrow' shows the pullback entry on the crossed HMA .
Red "Down Arrow" shows the exit when prices closes below the HMA 55, or "Fast HMA".
If you notice something that needs to be changed or that could be added, please share it in the comments below. Thanks!
HULL_FIB Strategy2 Hull Ma's
Long Hull MA FIB Lines
It will Sell when reaches upper 0.618 Fib and Hull(short_period)has crossed over to selling
it will close sell by TP or SL or when reaches lower 0.618 Fib
Buy is opposite that
here is how it makes the FIBS:
================================================
mult = input(3.0, minval=0.001, maxval=50)
basis = func_hma(price, HMAlengthLong)
dev = mult * stdev(price, HMAlengthLong)
upper_1= basis + (0.236*dev)
upper_2= basis + (0.382*dev)
upper_3= basis + (0.5*dev)
upper_4= basis + (0.618*dev)
upper_5= basis + (0.764*dev)
upper_6= basis + (1*dev)
lower_1= basis - (0.236*dev)
lower_2= basis - (0.382*dev)
lower_3= basis - (0.5*dev)
lower_4= basis - (0.618*dev)
lower_5= basis - (0.764*dev)
lower_6= basis - (1*dev)
plot(basis, color=orange, linewidth=2)
p1 = plot(upper_1, color=gray, linewidth=1, title="0.236")
p2 = plot(upper_2, color=gray, linewidth=1, title="0.382")
p3 = plot(upper_3, color=gray, linewidth=1, title="0.5")
p4 = plot(upper_4, color=black, linewidth=2, title="0.618")
p5 = plot(upper_5, color=gray, linewidth=1, title="0.764")
p6 = plot(upper_6, color=red, linewidth=2, title="1")
p13 = plot(lower_1, color=gray, linewidth=1, title="0.236")
p14 = plot(lower_2, color=gray, linewidth=1, title="0.382")
p15 = plot(lower_3, color=gray, linewidth=1, title="0.5")
p16 = plot(lower_4, color=black, linewidth=2, title="0.618")
p17 = plot(lower_5, color=gray, linewidth=1, title="0.764")
p18 = plot(lower_6, color=green, linewidth=2, title="1")
=================================================
Hull_TSI StrategyTrue Strength Index, but Exponential Moving Average taken out and replaced with Hull Moving Average
increase the values for increased timeframes i found good on 1hour chart 700,700,700 (instead of 420)
Hull Moving Average Cloud v2Hull Moving Average Cloud, is not the normal Hull crossover, instead opens orders at cross of price and alternative Hull MA configuration (stretches/shrinks with momentum)
Has history settings, Commission already included in result. Only looks into past, should be no repaint (im sure the trolls will correct me if im wrong, thankyou trolls i can always count on you)
Source code open, if you find improvement please share thankyou
Hull Moving Average and Daily Candle CrossoverHull Moving Average. Alan Hull developed Hull Moving Average in 2005 in his quest to create a moving average that is "responsive to current price activity while maintaining curve smoothness". Hull claims that his moving average "almost eliminates lag altogether and manages to improve smoothing at the same time"
This strategy has Lag built in, the signal will appear 1 or 2 candles lagged, but it wont repaint the signal.... in theory!
Does this repaint? you tell me. thankyou
Change the settings every time you change timeframe or pair
SMA EMA HMA VWMA Turning Point StrategyThis strategy allows you to backtest entering and exiting a trade based on one definable SMA, EMA, HMA or VWMA changing direction.
SMA EMA HMA VWMA Crossover Strategy with MA Turning Point ExitsThis version adds HMA and VWMA, allowing you to backtest different crossover strategies for any combination, with the exits on the turning point of the faster MA. Due to order limitations this will only work on higher timeframes for some combinations, or on more recent exchanges with less history. You can edit the code though to add the timestamp to a recent date.