Code a Pine Script strategy for Tradingview

I need a Tradingview strategy for backtesting purposes.

I need the pinescript code to be written from scratch. These are the rules of the strategy:

(Buy condition)


1 - Weekly MACD above the Signal line

2 - weekly MACD above the Zero line

3 - Daily MACD above the Signal line

4 - Daily MACD above the Zero line


5 - Set a buy order above the high of the last closed candle

6 - If the purchase order is not activated and buy condition is still active, update the Buy order above the high of the new closed candle (this is a Trailing Stop Buy effect)

(Sell condition)


7 - Daily MACD crosses down the Signal line


8 - Set a stop loss order below the low of the last closed candle.

9 - If the stop loss order is not triggered, update it whenever the daily MACD makes a cross down the Signal line. (This is a Trailing stop loss effect)

I also need:

10 - Code to apply the Kelly criterion to the position sizing, based on manually set parameters. Parameters:

Win% / Average Loss - (1 - Win%) / Average Win

11 - Code to pyramiding the positions (averaging up) when the daily MACD cross up to the Signal line and there are other open positions. Size of pyramiding positions: first position 57%, 29% second position, third position 14%.

I wish that the conditions 1, 2, 3, 4, 10, 11 can be activated or deactivated at will with a tick and that the timeframe of the MACD used (weekly and daily) can be modified (f.e. into monthly and weekly)

Let me know if you need further details ?

Let me know your budget and timing estimate, thank you so much!

Taidot: Pine Script, Trading

Tietoa asiakkaasta:
( 7 arvostelua ) Limbiate, Italy

Projektin tunnus: #33760226

12 freelanceria on tarjonnut keskimäärin €247 tähän työhön


Good day, I read the description of your project and I am highly convinced that your requirements fall well within my abilities and skills: * Metatrader 4 and 5 indicator and EA. * Pine Script for Tradingview * Cryp Lisää

€250 EUR 2 päivässä
(16 arvostelua)

Work can be done Anything in the ***PineScript*** or ***Python*** can be coded just need a good description of the concept Bid Price and Duration to Complete the Project Will be Revised after getting Full Descript Lisää

€351 EUR 7 päivässä
(70 arvostelua)

Hello, I am an Algorithmic Trader and Pine Script Expert. I have created several indicators and strategies on TradingView for numerous clients (please see my reviews) and can send some samples via chat if required. I Lisää

€349 EUR 3 päivässä
(31 arvostelua)

I am a professional pinescript developer. I have made a lot of pinescript already. I can start just, no question. I can deliver within 3days with 180eur budget Can we discuss more detail ? thank you.

€180 EUR 3 päivässä
(25 arvostelua)

Hi My name is Gustavo My private repository has hundreds of scripts I have several indicators published on the TradingView platform, for free use that you can try To date, I have over 8500 users using my indicators, a Lisää

€250 EUR 15 päivässä
(15 arvostelua)

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 Lisää

€250 EUR 7 päivässä
(8 arvostelua)
(14 arvostelua)

Hi, I am a pine script coder. Please describe your full project details. I need more details. I have 10+ years experience in trading.

€200 EUR 7 päivässä
(16 arvostelua)

Hello, I have read your project descriptions and I will need more details regarding your project. Rest assured that I am capable of delivering the desired result on your project. Listed below are the services I rende Lisää

€200 EUR 3 päivässä
(10 arvostelua)

Hello, I am a seasoned and expert software developer who has successfully created highly efficient trading for numerous brokers and platforms. My skills include MQL4/5 for Metatrader 4/5, NT7/8 for Ninjatrader 7/8, thi Lisää

€140 EUR 7 päivässä
(2 arvostelua)

Hello there, Thanks for posting the project. I understand that you need to a have a strategy coded per your requirements. I can help you with that. I am a trader myself, and have a team of pinescript programmers who Lisää

€250 EUR 3 päivässä
(0 arvostelua)

Yo! I am professional Pine Script programmer with skills including Pine Script and Trading. I am Expert MQL4/5 Developer for MT4 and MT5 with C++ and C# experience I am a professional MQL4, MQL5 and cAlgo developer. Lisää

€250 EUR 6 päivässä
(0 arvostelua)