Brandon BollSecond day at Pinescript and I am attempting to tweak the Bollinger Bands directed strategy to send alerts to Zignaly in order to automate long buy/sells.
I've left in the short script though for completeness.
The buy and sell instructions work perfectly but I don't know how to do a cancel order alert (as included in the original strategy)
Automation
CM_Ultimate_MA_MTF_V2 with Alert Long and Short Hello All,
Here is a scirpt of ChrisMoody modified with the alerts of purchases and sales.
I just have a problem with automation. At the bottom of my script my alerts "Buy1" and "Sell2" give alerts constantly and I wish to have a single alert before the order is completed. Before "Sell1" or Buy2 ".
I found the function "barstate.isfirst" that could possibly work?
Does anyone have an idea ? :)
MP ZeroLag EMAStudy version companion to my Zerolag Strategy :)
As usual, all proceeds go to the betterment of these scripts as well as my upcoming surgery (Carpel Tunnel Syndrome, yuck)
1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
MP EMA V SMA StudySo I took an idea from various scripts out there that fcus on EMAs, EMA Ribbons, SMAs, including gains. The idea behind this is to eliminate excess noise by cross referencing values from both SMA and EMA in a more competitive environment. What this does is provide the trend determined by EMAs while using a SMA gain to cut out the fluff so to speak. Works good on multiple coins but is not supported by backtesting since I have not completed the Strategy script as of yet. Currently using this for 1h timeframes on ETHUSD coin in Kraken's exchange. As usual it's all open source and free. Enjoy! Friendly with autoview.
Any questions feel free to pop into our Discord at discord.gg .
All donations go to providing better resources for further testing and script sharing, as well as my upcoming carpel tunnel syndrome surgery.
1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
Progressive Profit Taking with Trailing StopThis is version 2 of
Special features:
Added partial profit taking as price rises. Profit taking is triggered by price crossing an EMA.
After profit taking, price has to rise by a user-specified percent before taking profits again.
Also includes condition for fully closing position after meeting specified profit target.
To incorporate into your algo, turn the plotshape functions into alertcondition.
Alert Batches v2This version triggers every batch within each candle. The previous version only triggered one batch per candle.
This will not trigger batches in perfect order, but I left the "sequential" option because it still triggers the batches in order more often than not.
Alert BatchesThis script lets you separate alerts into batches, and trigger each batch in either sequential order or (pseudo)random order. You can also specify the number of batches being used.
This is helpful when you have alerts to be triggered on every candle, but the number of alerts causes API errors if they are all executed at once.
[Alerts] - Moving Average Cross and/or Bbands botThis is the alert script for :
We've included the basic alert syntax for Autoview automation. You can learn more about the syntax here: autoview.with.pink and you can watch this video here: www.youtube.com
These settings are set, by default, to the lowest contracts allowed by Bitmex (at the time of this posting) to avoid a spam account.
You can learn more about Autoview here:
autoview.with.pink
Get your invite and join us in slack here:
slack.with.pink
[Autoview] Every Candle Alert ScriptThis script is designed specifically for firing an alert every candle. It can also be used to just fire an alert on a green candle, or a red candle to slow it down a bit.
This is a script we use to close all of our orders or positions on any of the integrated exchanges.
You can use a fire once alert with greater than on condition and the alert will typically fire within seconds. You can also use this to place orders for you without having to navigate away from TradingView to your exchange/brokerage site.
If you would like a better understanding of how to create an alert for automation, please visit the article this strategy is being published for.
use.autoview.with.pink
P2-V2 - AlertsThis is the alert script for the P2-V2 Strategy. For some reason pasting it into the P2-V2 description results in some of the lines becoming corrupt. So figured the best way would be to publish it.
original strategy