Second 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)
This 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.
Study 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)
ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP
pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
New script based on zlema. Hopefully responds better tot ake advantage of margin trading. As usual, commands for both spot trading and margin trading are included, just need to comment or uncomment (using // ) which you prefer. They are just labels so both work in the same way (long/buy, short/sell). Also added some flair to pretty it up a bit, and yes, those...
So 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...
This 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.
This 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.