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)
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...
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) 1Dsg49Zt2FQ9BnUHrmXQwvhL5dd3teqa7g ltc addy- LYUpgsHSHnKeYdNaj9bu9prK4QsnJXEQtP pinkcoin addy- 2PoeXyAk3rF9FmMC8azme2mGzMYsEiZ5eS
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 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,...
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.
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.
This 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...
This 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...
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. original strategy