This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
study(title='Alert 1W', shorttitle='Alert 1W', overlay=false) | |
duration=input('90D') | |
ch1 = security(tickerid, duration, open) | |
ch2 = security(tickerid, duration, close) | |
// Signals// | |
long = crossover(ch2, ch1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
strategy(title='Beat the Odds 1W setups', shorttitle='1W setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD) | |
//----------------- EMA 1 -------------------------------------------------------------------------------------------// | |
src0 = close, len0 = input(13, minval=1, title="Fast EMA Cross") | |
emaFast = ema(src0, len0) | |
direction = rising(emaFast, 2) ? +1 : falling(emaFast, 2) ? -1 : 0 | |
plot_color = direction > 0 ? lime: direction < 0 ? red : na |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
study(title='Alert 15 min', shorttitle='Alert 15 min', overlay=false) | |
duration=input('135') | |
ch1 = security(tickerid, duration, open) | |
ch2 = security(tickerid, duration, close) | |
// Signals// | |
long = crossover(ch2, ch1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
strategy(title='Beat the Odds 15 min setups', shorttitle='15 min setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD) | |
// 15 min chart with 15 min setups with input of 105 or 135 will yeild best result | |
//----------------- EMA 1 ---------------------------------------------------------------------------// | |
src0 = close, len0 = input(10, minval=1, title="Fast EMA Cross") | |
emaFast = ema(src0, len0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
study(title='Alert 1H', shorttitle='Alert 1H', overlay=false) | |
duration=input('540') | |
ch1 = security(tickerid, duration, open) | |
ch2 = security(tickerid, duration, close) | |
// Signals// | |
long = crossover(ch2, ch1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
strategy(title='Beat the Odds 1H setups', shorttitle='1H setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD) | |
// best input value is 540 (default) for BTCUSD | |
//----------------- EMA 1 ---------------------------------------------------------------------------// | |
src0 = close, len0 = input(10, minval=1, title="Fast EMA Cross") | |
emaFast = ema(src0, len0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
study(title='Alert 3H', shorttitle='Alert 3H', overlay=false) | |
duration=input('1620') | |
ch1 = security(tickerid, duration, open) | |
ch2 = security(tickerid, duration, close) | |
// Signals// | |
long = crossover(ch2, ch1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
strategy(title='Beat the Odds 3H setups', shorttitle='3H setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD) | |
//----------------- EMA 1 ---------------------------------------------------------------------------// | |
src0 = close, len0 = input(10, minval=1, title="Fast EMA Cross") | |
emaFast = ema(src0, len0) | |
direction = rising(emaFast, 2) ? +1 : falling(emaFast, 2) ? -1 : 0 | |
plot_color = direction > 0 ? lime: direction < 0 ? red : na |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
study(title='Alert 1D', shorttitle='Alert 1D', overlay=false) | |
duration=input('9D') | |
ch1 = security(tickerid, duration, open) | |
ch2 = security(tickerid, duration, close) | |
// Signals// | |
long = crossover(ch2, ch1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@version=2 | |
strategy(title='Beat the Odds 1D setups', shorttitle='1D setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD) | |
//----------------- EMA 1 -------------------------------------------------------------------------------------------// | |
src0 = close, len0 = input(9, minval=1, title="Fast EMA Cross") | |
emaFast = ema(src0, len0) | |
direction = rising(emaFast, 2) ? +1 : falling(emaFast, 2) ? -1 : 0 | |
plot_color = direction > 0 ? lime: direction < 0 ? red : na |
NewerOlder