This is version 2 of
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 script is for trading grid bots. Only CCI and RSI are used, but there are three different timeframes available for each. When using it, you must select a chart with a period equal to or less than the minimum in the indicator settings. For example, the following periods are selected in the settings: 1 hour, 15 minutes, 5 minutes, so we use a 5-minute chart. A...
Displays 5 popular EMAs (you can hide any you don’t want to see from the “Styles” screen when editing the config).
Set the values for your EMAs by clicking the cog after adding this indicator to your chart.
A Long or Short signal is fired when EMA1 crosses EMA2 - a cross up is a Long signal, a cross down is a Short signal.
Connect to your Bots (3commas /...
Here's how to create a trailing stop with a manual buy order, on an exchange that does not support native trailing stops. Code can easily be copy+pasted into your normal algos.
To set the entry price for your manual trade, specify the bar time when the trade was made. Note that the time you specify needs to correspond to an opening time on your chart--if it's a 3...
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 is an indicator that combines the Ultimate Oscillator with RSI.
Currently it displays signals on the screen when the RSI crosses from low to high (to open and close a long) and vice versa for short signals.
Further signals will be developed for Ultimate Oscillator longs/shorts.
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.
Fellow crypto traders,
This is not the average script post, please keep reading...
I admit I have not been socially active on TradingView at all.
As a paid pro-member I've been using the platform to develop serious strategies, not to waste time on drawing lines, or do Social Media like stuff.
I'm not into that at all... I'm an actual nerd, social in a...