Request for Indicator Conversion MQL4 to PineScript 5/Tradingview

Техническое задание

I need these two little gems on Tradingview. Clean code, should be an easy task, a day's work max. 

Just a conversion to PineScript, must look the same like on MT4. We can talk about some alert improvements later on and increase the budget.

Информация о проекте

Бюджет
50 - 100 USD
Сроки выполнения
от 1 до 3 дн.