OPEN-SOURCE SCRIPT
Dips Oleg

Adaptive Dip‑Buying Strategy with Lot Precision & Smart Averaging
📘 Description
This strategy is a personalized adaptation of an idea originally developed by the respected author fullmax.
I reworked the concept to suit my own trading approach, adding lot‑precision rounding to avoid exchange quantity errors when using webhooks, and enhancing the visual and analytical components of the script.
🔧 What’s New in This Version
Configurable lot precision to ensure clean, exchange‑safe order sizes
Improved UI elements: base‑order labels, compact mini‑table, grouped settings
Dynamic safety‑order pricing based on price drops and scaling factors
Flexible date‑range filtering for controlled backtesting
Clear visualization of SMA threshold, safety levels, breakeven, and take‑profit
Adaptive threshold logic that adjusts depending on trend conditions
🎯 Core Logic
The strategy monitors how far price deviates from a short‑term SMA.
When the deviation crosses a user‑defined threshold, the script opens a base position.
If price continues to dip, the system deploys safety orders with:
scalable volume
scalable distance
precise rounding for compatibility with webhook automation
Once the position is built, the strategy manages exits using a fixed take‑profit target.
A breakeven reference line and auto‑cleanup logic help maintain clarity and prevent stale orders.
⚙️ Feature Overview
Dip‑based entry logic with bull/bear threshold switching
Safety orders with volume and step scaling
Take‑profit management
Breakeven visualization
Mini‑table showing real‑time position metrics
Clean chart overlays for easier interpretation
📝 Disclaimer
This script is intended for educational and analytical use.
It does not guarantee profits and should be tested thoroughly before being used in live trading.
📘 Description
This strategy is a personalized adaptation of an idea originally developed by the respected author fullmax.
I reworked the concept to suit my own trading approach, adding lot‑precision rounding to avoid exchange quantity errors when using webhooks, and enhancing the visual and analytical components of the script.
🔧 What’s New in This Version
Configurable lot precision to ensure clean, exchange‑safe order sizes
Improved UI elements: base‑order labels, compact mini‑table, grouped settings
Dynamic safety‑order pricing based on price drops and scaling factors
Flexible date‑range filtering for controlled backtesting
Clear visualization of SMA threshold, safety levels, breakeven, and take‑profit
Adaptive threshold logic that adjusts depending on trend conditions
🎯 Core Logic
The strategy monitors how far price deviates from a short‑term SMA.
When the deviation crosses a user‑defined threshold, the script opens a base position.
If price continues to dip, the system deploys safety orders with:
scalable volume
scalable distance
precise rounding for compatibility with webhook automation
Once the position is built, the strategy manages exits using a fixed take‑profit target.
A breakeven reference line and auto‑cleanup logic help maintain clarity and prevent stale orders.
⚙️ Feature Overview
Dip‑based entry logic with bull/bear threshold switching
Safety orders with volume and step scaling
Take‑profit management
Breakeven visualization
Mini‑table showing real‑time position metrics
Clean chart overlays for easier interpretation
📝 Disclaimer
This script is intended for educational and analytical use.
It does not guarantee profits and should be tested thoroughly before being used in live trading.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.