В работе

TradingView PineScript Strategy

I need a TradingView strategy that will detect the local swing lows and place the buy orders once the price drops down below the detected swing low. The Take Profit should be placed at the previously detected swing low.


Strategy Description:

Base - is the swing low where buyers actively buy and price moves significantly up. Some traders may call it support line, but in our strategy we call it base.

When price drops below the base there is a high probability to return back to the base.

Base Detection

If price moves down and then moves up on the amount of [Base Retracement Confirmation, %] - we consider that the formed local swing low is a base.

Visually, the base is a simple local swing low (grey lines on the screenshot).

Base Broken

Base considered broken when the price reaches the first buy order (Level 1).

If the price goes below the detected base but not hit the Level 1 (meaning base is not considered broken and no order placement triggered) and then price goes up/flat/ranging - the script should ignore this base and wait for another base to be detected (see Ignore Wasted Bases section).

Important: Only the last detected base is taken into account in this strategy. All previously detected bases except the last one doesn't matter and if price goes below those previous bases they should not be considered "Broken" or "Respected".

Broken base should be plotted with red line. The line should start on the local low and ends on the current bar, until the broken base is respected (as described on the screenshot). In other words previously detected base (grey) should change color to red.

Strategy Exit Sell Order (Base Respected)

TO BE DISCUSSED WITH DEVELOPER: once MARKET or LIMIT entry buy order are executed at the same time script should place LIMIT exit sell order. Exit sell order price level should calculated as following:

Broken Base - [Take Profit Below Base, %]

Meaning, we accept that price may not go exactly to our broken base and, thus, we reduce risks by placing exit order slightly below the broken base.

Important: Once the base gets respected all corresponding to this base LIMIT orders should be cancelled.

To summarise the bases color during the whole flow should be changed as following:

base detected (grey) => base broken (red) => base respected (green).


Full task description I will provide for freelancers interested in my project. Also, I would like to explain the strategy, answer the questions and discuss our cooperation on a short google meet call.

Навыки: Pine Script

О работодателе:
( 0 отзыв(-а, -ов) ) Kyiv, Ukraine

ID проекта: #32719368



Hi dear customer, I'm a trader and solely trading software developer mostly for Tradingview. I have read your Specification and ready to develop you Tradingview Pinescript strategy considering base line and rules menti Больше

$400 USD за 7 дней(-я)
(86 отзывов(-а))

8 фрилансеров(-а) готовы выполнить эту работу в среднем за $330


Hello, I am an Algo Trading and Pine Script Expert. I have created several indicators and strategies on TradingView for numerous clients (please see my reviews). I can start immediately and can send some samples via c Больше

$350 USD за 5 дней(-я)
(24 отзывов(-а))

Dear sir or madam. I am working on TradingView since 5 years ago. I have experience with Programming more than 10 years. I have worked on similar projects to what you are looking for. I will respect and implement y Больше

$300 USD за 5 дней(-я)
(23 отзывов(-а))

★ ★ ★ ★ ★ ɪ ᴄᴀɴ ᴅᴏ ᴛʜɪꜱ ꜰᴏʀ yᴏᴜ ɴᴏ ᴩʀᴏʙʟᴇᴍ! ★ ★ ★ ★ ★ ✪ PineScript is my specialty! I love writing PineScripts and I can get started right away! ✪ I have completed over 10+ PineScript projects for customers with a Больше

$300 USD за 7 дней(-я)
(4 отзывов(-а))

Hello, I can make your tradingview script based on swing low and high. We can discuss in chat. Thank you.

$330 USD за 7 дней(-я)
(8 отзывов(-а))

I am a senior software developer who has carried out many tasks related to Metatrader, Ninjatrader, Amibroker, Pinescript for Tradingview, Crypto-Trading bot, Betting bot, Telegram bot, Stock trading bots, and all othe Больше

$280 USD за 5 дней(-я)
(5 отзывов(-а))

I have master degree in software engineering and i have a lot of experiences in designing experts and indicators for meta trader and tradingview which do bet automatically. I also don't have any time limitation so we c Больше

$280 USD за 7 дней(-я)
(4 отзывов(-а))

Looking for one of the best trading bots and indicator developer for your trading experience?, look no further. I am an Expert Metatrader, Pine script, Ctrader TOS, Ninjatrader, Tradestation and Crypto Exchanges tradin Больше

$400 USD за 3 дней(-я)
(0 отзывов(-а))