Find Jobs
Hire Freelancers

Programming Alert In Pine Script For TradingView Charting Platform

$30-250 AUD

Closed
Posted about 7 years ago

$30-250 AUD

Paid on delivery
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.
Project ID: 13841603

About the project

5 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $357 AUD for this job
User Avatar
Hi, I've whipped up a quick indicator that does mostly what you described so far. You can see a screenshot in my portfolio folder. It still needs debugging and including an alert condition. Cheers, Shi Jun
$200 AUD in 3 days
4.9 (24 reviews)
4.7
4.7
User Avatar
Hi, I am a serious developer who aims to provide high quality services. If you contact me, we can discuss more things detail and will be achieved with each other's purpose. Good luck for your business…
$155 AUD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
5.0
2
Payment method verified
Member since Jul 13, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.