Looking for help with my tradingview script
So I have a simple as hell trading script. However I am no programmer so I'm sure this can be way better.
This is based on how I trade manually. I plot two EMA points. I set one at 13 and the other at 33. When the lines cross I either buy or sell. Dead simple right? This is for use with autoview.
Here's the code:
//@version=3
study("My1333stat", overlay=true)
fast = 17, slow = 80
fastMA = ema(close, fast)
slowMA = ema(close, slow)
plot(fastMA, color=green, title = "buy/sell")
plot(slowMA, color=red, title = "base")
buy_signal = crossover(fastMA,slowMA)
sell_signal = crossunder(fastMA,slowMA)
plotshape(buy_signal, style=shape.triangleup, color = green, text="buy")
plotshape(sell_signal, style=shape.triangledown, color = red, text="sell")
alertcondition(sell_signal, title = 'Sell', message = 'e=bittrex b=sell p=3% q=0.001 d=1')
alertcondition(buy_signal, title = 'buy', message = 'e=bittrex b=buy p=-3% q=0.001 d=1')
Leave Looking for help with my tradingview script to:
Read more #tradingview posts
Best Posts From Angry Tony
We have not curated any of angrytony's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Angry Tony
- the RDD DMD experiment
- my 1333 bot update
- Looking for help with my tradingview script
- Take control of how you buy BTC
- robinhood the crypto exchange killer with commission-free crypto trading
- steem blowing up :p
- 50 Cent Makes Millions Selling Album For Bitcoin By Helen Partz
- Win Every Trade
- DTube uploading woes
- Steem currently pumping