Kaspricci

50 Pips A Day Strategy - Kaspricci

Kaspricci Premium Mis à jour   
50 Pips A Day Strategy

This strategy is designed to work on 1 hour timeframe. It is designed to capture the early market move of major forex pairs like EURUSD or GBPUSD . It takes the high and low of the first candle (7 a.m. GMT , London Stock Exchange opens) and places to pending orders at these prices levels.

  • High + additional gap in pips = buy stop pending order
  • Low + additional gap in pips = sell stop pending order

For both orders a stop loss of 15 pips and a take profit of 50 pips is used as a default. As soon as price triggers one pending order, the remaining pending order is cancelled. At the end of the configured session time all open and pending orders are closed / cancelled.

Settings
  • Trading Time - start and end time of session. It is configured for Monday to Friday only. At the beginning the first candle is used to define stop prices for pending orders.
  • Source for Buy Stop order - Default: high. Used to calculate buy stop order. You can add additional pips as a gap.
  • Source for Sell Stop order - Default: low. Used to calculate sell stop order. You can add additional pips as a gap.
  • Stop Loss in Pips - Default: 15. Used for both pending orders.
  • Take Profit in Pips - Default: 50. Used for both pending orders.

This strategy is for educational purposes only! It is not meant to be a financial recommendation.
Notes de version:
Adding two features:
  • you can now select between two stop loss / take profit calculation methods. 1) fix values as before or 2) dynamic calculation based on Average True Range and multipliers for stop loss and take profit.
  • with dynamic stop loss your risk amount is changing too. I added an option to overwrite quantity and adjust it to meet a defined risk percent of equity (keep in mind that equity is changing with each closed trade. So also the total risk amount is changing.)
Notes de version:
Adding custom alert messages that align with davidd.tech strategies enabling simple bot configurations.

Supported list of variables:

  • #nl# => New line
  • #symbol# => The ticker e.g. EURUSD
  • #LongSL# => Long Stop loss, absolut price of stop loss (buy stop price - stop loss in ticks)
  • #LongTP1# => Long Take Profit 1, absolut price of take profit target at 50% of take profit (buy stop price + take profit in ticks * 0.5)
  • #LongTP2# => Long Take Profit 2, absolut price of take profit target at 100% of take profit (buy stop price + take profit in ticks)
  • #LongTPFULL# => Long Take Profit in FULL, same as #LongTP2#
  • #ShortSL# => Short Stop loss, absolut price of stop loss (sell stop price + stop loss in ticks)
  • #ShortTP1# => Short Take Profit 1, absolut price of take profit target at 50% of take profit (sell stop price - take profit in ticks * 0.5)
  • #ShortTP2# => Short Take Profit 2, absolut price of take profit target at 100% of take profit (sell stop price - take profit in ticks)
  • #ShortTPFULL# => Short Take Profit in FULL, same as #ShortTP2#
  • #TakeAmount1# => Percent to remove from trade on hitting TP1, eg. 1.0 (risk in percent * 0.5)
  • #TakeAmount2# => Percent to remove from trade on hitting TP2, eg. 2.0 (risk in percent)
  • #TakeAmountFULL# => Percent to remove from trade on hitting TP3, same as #TakeAmount2#

Please test the alerts carefully as I don't use them by my own! Leave a comment, in case you found a bug.
Notes de version:
Fixed a bug with too many pending orders created, when enabling the strategy feature "on every tick".
Notes de version:
I made several changes to the script.

  • You can now define the time druing which the high and low are determined. Before it took always the first high and low of the first candle of the trading session. This way now you can use the script also on lower timeframes (<= 1h).
  • You can now disable the cancellation of the second pending offer.
  • Wehn enabling the risk based quantity calculation you can choose whether your risk amount is based on intitial capital (always the same) or on current balance (takes net profit of closed trades into account)
  • You can now disable the lot size based calculation of quantity, when risk based percentage is enabled.
  • I fixed a wrong quantity calculation, when using the script for non forex symbols.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?