Skip to content

Instantly share code, notes, and snippets.

View edennis's full-sized avatar

Erick Dennis edennis

  • Barcelona, Spain
View GitHub Profile
@bongkook
bongkook / [PineScript]Heikin Ashi Strategy Example
Last active November 27, 2021 20:16
TradingView Strategies
// NOTE: Add this strategy on a usual candles chart, NOT on a HeikinAshi chart.
//@version=3
strategy("Heikin Ashi Strategy Example", overlay=true)
haTicker = heikinashi(tickerid)
haOpen = security(haTicker, period, open)
haClose = security(haTicker, period, close)
longCondition = haClose > haOpen and haOpen > haClose[1]
exitCondition = haClose < haOpen
@fdietz
fdietz / .babelrc
Last active June 29, 2018 17:32
Phoenix Framework Webpack Integration (replacing Brunch)
{
"presets": ["es2015", "react", "babel-preset-stage-0"]
}