Find Jobs
Hire Freelancers

Add to a Pine script indicator for TradingView to plot buy arrows with alert conditions

$30-250 USD

Inaendelea
Imechapishwa almost 6 years ago

$30-250 USD

Kulipwa wakati wa kufikishwa
I simply need someone to add a part to the end of the below script that adds upward buy arrows with 'buy' alert conditions for this Volatility Stop indicator. The main condition is that I don't want a green buy arrow to appear at every green cross, I only want it to appear once at the beginning of a run of green crosses / after each run of red crosses. Below is the code. Should be a 5 minute job to someone who knows Pine script. Not a big job as I am already providing the bulk of the code for this indicator. Also I have attached an image with an example of where I want the arrows to make things clearer. Thanks! //@version=3 study("Volatility Stop Custom", shorttitle="VStop", overlay=false) length = input(20) mult = input(2) atr_ = atr(length) max1=0.0 min1=0.0 is_uptrend_prev = false stop=0.0 vstop_prev=0.0 vstop1=0.0 is_uptrend=false is_trend_changed=false max_ = 0.0 min_ = 0.0 vstop=0.0 max1 := max(nz(max_[1]), close) min1 := min(nz(min_[1]), close) is_uptrend_prev := nz(is_uptrend[1], true) stop := is_uptrend_prev ? max1 - mult * atr_ : min1 + mult * atr_ vstop_prev := nz(vstop[1]) vstop1 := is_uptrend_prev ? max(vstop_prev, stop) : min(vstop_prev, stop) is_uptrend := close - vstop1 >= 0 is_trend_changed := is_uptrend != is_uptrend_prev max_ := is_trend_changed ? close : max1 min_ := is_trend_changed ? close : min1 vstop := is_trend_changed ? is_uptrend ? max_ - mult * atr_ : min_ + mult * atr_ : vstop1 plot(vstop, color = is_uptrend ? green : red, style=cross, linewidth=2)
Kitambulisho cha mradi: 17240855

Kuhusu mradi

7 mapendekezo
Mradi wa mbali
Inatumika 6 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
$55 USD ndani ya siku 1
4.9 (66 hakiki)
6.0
6.0
7 wafanyakazi huru wana zabuni kwa wastani $189 USD kwa kazi hii
Picha ya Mtumiaji
Hello, Warm greetings! You require to make modification in the website and to introduce the script you mentioned into the page. We have review your project and it could be done as your requirements says, We have experience to deal with you issues and a leading team will work behind this. We work on JavaScript, PHP for website development We are wishing to see your reply. Thank you Rajat
$155 USD ndani ya siku 3
4.9 (58 hakiki)
5.6
5.6
Picha ya Mtumiaji
I believe that my 9+ years of programming experience makes me highly qualified for this project. I believe that I would be an asset to this project. Javascript, Metatrader, PHP, Software Architecture,
$155 USD ndani ya siku 1
5.0 (19 hakiki)
5.1
5.1
Picha ya Mtumiaji
Hi, Expert here, ready to start immediately. I will always available to discuss project specs. I have reviewed all your requirements and can deliver exactly what you are looking for, 100% guaranteed. If you want I can show you my portfolio. Thanks
$555 USD ndani ya siku 8
5.0 (2 hakiki)
0.2
0.2
Picha ya Mtumiaji
HIGHLY interested with your project. I'm ready to start right now. My completion rate is always 100% and I STRICTLY BITE WHICH I CAN CHEW. Knock me please
$150 USD ndani ya siku 3
5.0 (20 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya FRANCE
Moncrabeau, France
5.0
5
Njia ya malipo imethibitishwa
Mwanachama tangu Feb 16, 2014

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.