Find Jobs
Hire Freelancers

Programming Alert In Pine Script For TradingView Charting Platform

$30-250 USD

Lukket
Slået op cirka 5 år siden

$30-250 USD

Betales ved levering
Programming a visual and audible alert for the TradingView platform in PineScript Language. The same indicator (disparity index SMA by DRodriguezFX) is applied to two highly correlated instruments. The indicator values are then compared to each other to find instances when they diverge. Divergence is determined using simple maths. Divergence can occur in 3 ways: 1) indicators move in opposite directions. (one increases, while the other decreases) 2) One remains unchanged, while other increases or decreases. 3) Both move in same direction, but one moves a greater magnitude. In this case the first step involved is to determine by how much % the indicator has moved from the last value / one candle / period ago. Example: Disparity indicator on instrument 1 moves from 0.0070 to 0.0080 = +0.0010 So 0.0010 / 0.0070 = 0.143 X 100 = 14.30% Disparity indicator on instrument 2 moves from 0.0070 to 0.0075 = +0.0005 so 0.0005 / 0.0070 = 0.0714 X 100 = 7.14% Now take the greater value and divide by smaller value then multiply by 100 = 14.30 / 7.14 X 100 = 200.28% Therefore one indicator moved 200.28% the value of the other. This % threshold value will be a custom input to determine if divergence has occurred. In other words if they both move in the same direction, divergence will only be shown if one moves by X% of the value of the first. Once divergence has been confirmed, an arrow will be drawn on price in the opposite direction of the closing candle. So for example if divergence is confirmed and the candle closed higher, then a down arrow would be drawn above this candle and vice versa. If the candles close and open are the same, the previous candles range is used instead. I will be uploading a video to Youtube soon to better explain what im after. Considerations: Note two instances of this indicator plotted for two different instruments cant be loaded in the same window. But as long as the corresponding values are compared, this shouldn't be a problem. Indicator should be constantly monitoring every bar close to determine if divergence has occurred.
Projekt-ID: 18967038

Om projektet

1 forslag
Projekt på afstand
Aktiv 5 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
1 freelancere byder i gennemsnit $120 USD på dette job
Brug Avatar.
Hi, I am Sourabh Jain, I am interested in project. I have recently written a custom indicator based on stochRSI and heikin ashi values which give signals (arrow) for buy and sell, provides alerts( pop-up, sound and e-mail). I am clear about your requirement, I have one query, how do you provide 2 correlated instruments, are they input? If you would like to discuss this further, please let me know. Sourabh
$120 USD på 3 dage
4,8 (16 anmeldelser)
4,8
4,8

Om klienten

Flag for INDIA
KHARAGPUR, India
0,0
0
Betalingsmetode verificeret
Medlem siden mar. 15, 2019

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.