Supertrend (ST) is a popular stop loss and trend identification script. The simplicity of seeing a clean trend on a chart makes it attractive, yet it is restricted by only allowing the source, length and multiplier to be adjusted, & these tend to have a limited effect on the properties of the identified trend. There is a wide variety of interesting ST scripts on...
This indicator enables interactive placement of limit or stop-limit orders with a trailing ATR stop-loss and optional profit target (with alerts). Refer to the images below for further clarification. Why use a trailing stop-loss? A trailing stop-loss serves as an exit strategy when price moves against you, while also allowing you to adjust the exit point...
Hi This is a small script that tries to assess the probability that a limit order sent at x % from the last close will be filled in the next y bars. It is based on historical data and can be useful to decide where to place your limit orders and to determine how far from the price you can put the limit order to get an X% chance of getting filled. It displays this...
An example of how to limit the input number of allowed signals using a function containing a condition counter with a reset.
Entering a short position after breaking the upper Bollinger Band, entering a long position when entering after breaking the lower Bollinger Band Provides templates for how to display position average price, stop loss, and profit price using the plot function on the chart, and how to buy splits After entering the position, if the price crosses the mid-band...
Library "Binance_Min_Limit_Order_amount_library" TODO: This library give us the minimum Limit Order amount for the contract in Binance. m_qty(n_v, m_fee, t_fee, cost, m_t) TODO: it give us the Minimum Qty for the trading in Binance Parameters: n_v : TODO: min_notional_value. 5 dollar is the minimum notional amount in Binance at the moment. ...
This scripts plots settlement and the circuit breaker limits for U.S. Equity Indexes. The current limits for the equity index futures are + and - 7%, 13%, and 20% from the previous day's settlement price. If price reaches these levels trading is either paused briefly or for the remainder of the day. The full resource (CME Website) is below. There are plans to...
Software part of algotrading is simpler than you think. TradingView is a great place to do this actually. To present it, I'm publishing each of the default strategies you can find in Pinescript editor's "built-in" list with slight modification - I'm only adding 2 lines of code, which will trigger alerts, ready to be forwarded to your broker via TradingConnector...
Displays recent higher highs, lower highs, lower lows, and higher lows as a collection of local limit indicators. In its simplicity is a lot more powerful than might appear at first glance. Does not rely on volatility calculation. Can be linked together to create an objective view of recent support and resistance levels. Makes current trends more visible. ...
Displays recent higher and lower highs. In it's simplicity is a lot more powerful than might appear at first glance. Does not rely on volatility calculation. Can be linked together to create an objective view of recent resistance levels. Makes current trends more visible. Excellent as a trailing stop (short) algorithm. Can be used with its sibling: ...
Displays recent higher and lower lows. In it's simplicity is a lot more powerful than might appear at first glance. Does not rely on volatility calculation. Can be linked together to create an objective view of recent support levels. Makes current trends more visible. Excellent as a trailing stop algorithm. Can be used with its sibling: Local Limit Upper
Automated - Fibs with Limit only orders This script was designed to demonstrate how you can use a single alert to move your limit orders around. It is not meant to be traded live and has been built to work with Binance Futures Testnet. You will notice a lot of plots with 5 different titles. New = Place your limit buy at a fixed-price. Move = Cancel the current...
*** THIS IS JUST AN EXAMPLE OF STRATEGY TIME LIMITING CODE IMPLEMENTATION *** This is a follow up to my example for risk management implementation here: Code remains mostly unchanged, but now includes a time limiting implementation. Relevant code blocks for the time factor are preceded with a comment stating: *** FOCUS OF EXAMPLE *** Cheers!