Pine Script, trading view strategy...

Please watch my video to understand my project: [login to view URL]

In order to create a deal .... all conditions must be met.


What I want is the following:


Min consecutive bars = 2

Duration = 8

Opposite Bars = 1


Condition 1 ---- If "Min consecutive bars" = 2

Condition 2 ---- open a deal with "Min Bars" Duration = 8

Only If

Condition 3 ---- The opposite bars condition will NOT be met until bar 8


That it means, that if on bar 5..... Conditions 3 is met......script must not create the deal .... because the targeted duration was 8 bars.



Definition of Condition 3

For Upward trend ---- the Closing price of the opposite Bars (Red)...is lower than the open price of the last Green Bar

For downward trend ---- the Closing price of the opposite Bars (Green)....exceed the open price of the last Red Bar.


I already have a strategy which works partially.

The attached strategy takes into account correctly only conditions 1 and 2.

If you wish you can work on this strategy and create your own from scratch

Навыки: Pine Script, Trading, Metatrader

О клиенте:
( 9 отзыв(-а, -ов) ) TRIKALA, Greece

ID проекта: #32760050

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

(243 отзывов(-а))

Hello, I can make your tradingview strategy as it is explained in video. We can discuss in chat. Thank you.

€145 EUR за 2 дней(-я)
(8 отзывов(-а))

Hi Hiring manager I am Trading automation: IB TWS, NinjaTrader, ThinkOrSwim, Metatrader, ... Fast and high quality development for: • Interactive Brokers, • NinjaTrader 7/8, • ThinkOrSwim, • Rithmic, • Metatrader 4/5 Больше

€250 EUR за 2 дней(-я)
(1 отзыв)

I watched your video. Your rules are very clear. This is very easy. I can do this for you very quickly. I have been coding for over 30 years and 6 years coding pine script. I have literally built hundreds of indi Больше

€75 EUR за 2 дней(-я)
(5 отзывов(-а))

Hello there, I have good experience and knowledge about Forex and Crypto Market. I have Forex experience of more than 5 years. I have good knowledge about technical and Fundaments analysis of the Market. I am an expert Больше

€110 EUR за 6 дней(-я)
(0 отзывов(-а))

Hi there, my name is Abdullah and I have lots of experience in making trading bots for my clients. Also, I have an open-source trading bot app. I read your description and I can build a trading bot which is work on by Больше

€140 EUR за 7 дней(-я)
(0 отзывов(-а))

I always put the needs of the customer first I take my credit to ensure the product will be completed fastest and of the highest quality. Looking forward to working with you. Thank you

€89 EUR за 1 день
(0 отзывов(-а))