Pine Script Indicator Code Fixing and Development based on requirements - Trading View - Pine Script
Budget: ₹600 – ₹2,000 INR
We are looking for a skilled Pine Script developer to create a small code for TradingView. The code should meet the following requirements:
- Develop a custom Pine Script code for TradingView
- Must have knowledge of Pine Script programming language
- Experience in creating technical indicators
- Good understanding of stock market and trading concepts
This project is suitable for individual with intermediate expertise in Pine Script. The duration of the project is expected to be under 1 or 2 days.
Requirements are as follows:
1. Let’s first define certain terminologies.
a. Range of the Candle:
Absolute difference between high and low of the candle.
b. What is an ATR Candle:
Any candle whose 14 length ATR is less than the range of the candle is considered as ATR Candle.
c. Support Area:
If first candle ATR who’s Close is more than Open will go consider it is as Support Area
d. Resistance Area:
If first candle ATR who’s Open is more than Close will go consider it as Resistance Area.
e. Area Violated:
If price moves above the resistance area, we consider resistance area are violated remove that box from the resistance array.
If price moves below the support area, we consider support area as violated and remove that box from the support array.
Don’t worry about these terminologies, I will explain you going forward.
2. As we know Pinescript draws bars from left to right.
3. We will look for ATR candles. Once found we will try to find another ATR candle this time going back from right to left such that distance between two ATR candle should not be more than 6.
We should not consider two adjacent candles as ATR candles. At least there should be 1 candle between two ATR candle to consider those candles as ATR candle.
4. First ATR candle should consider as right of the box.
5. Second ATR candle should consider as left of the box.
6. Highest High point of the candles between the two candles should consider as Top of the box in Support Area.
7. Lowest low point of the candles between the two candles should consider as bottom of the box in Resistance Area.
8. Store all the support area boxes and resistance area boxes into support area array and resistance area array respectively.
9. Resistance boxes should have red background and red colour border.
10. Support boxes should have green background and green colour border.
11.. We should not use built-in variables like open, high, low, close or ta.atr(14) of the current chart instead we need to get these variables as Open, High, Low, Close or ATR(14) using request.security() function even for the current chart. For validation we can use built-in variables.
12. Suppose we are fetching 75 minutes data of a ticker from request.security() function and plot it on the chart.
13. We should be able plot the similar boxes in the lower timeframe say 5 minutes or 10 minutes timeframe that’s why I said to use request.security function for analizing.
14. To validate this, we can use built-in variable of 75 minutes chart and see where the boxes are drawn using the above conditions and note those down and now apply this indicator first in 75 time frame and see same boxes are drawn and then in lower time frame say 5 minute or 10 minutes. It should draw those boxes of 75 minute timeframe in 5 or 10 minute timeframe charts.
15. I would also like to have pivot points captured in an array.
16. Will also like to know the trend of the ticker where it is Uptrend, Downtrend or Sideways.
17. All ATR Candles of the current chart should be marked as Blue on the chart.
Please reach out to me in case, you are having any queries regarding the requirement.
I can also provide some skeleton, if you need. I will be adding method names which I am expecting also might add some basic codes and flow which will help you proceed.
I have various other items lined up which can act as the enhance to this requirement. I would love to hear back from you and support.
Code Skeleton : - https://pastebin.com/s2Ta782J
Let’s team up and rock.
Thanks in advance.
- Develop a custom Pine Script code for TradingView
- Must have knowledge of Pine Script programming language
- Experience in creating technical indicators
- Good understanding of stock market and trading concepts
This project is suitable for individual with intermediate expertise in Pine Script. The duration of the project is expected to be under 1 or 2 days.
Requirements are as follows:
1. Let’s first define certain terminologies.
a. Range of the Candle:
Absolute difference between high and low of the candle.
b. What is an ATR Candle:
Any candle whose 14 length ATR is less than the range of the candle is considered as ATR Candle.
c. Support Area:
If first candle ATR who’s Close is more than Open will go consider it is as Support Area
d. Resistance Area:
If first candle ATR who’s Open is more than Close will go consider it as Resistance Area.
e. Area Violated:
If price moves above the resistance area, we consider resistance area are violated remove that box from the resistance array.
If price moves below the support area, we consider support area as violated and remove that box from the support array.
Don’t worry about these terminologies, I will explain you going forward.
2. As we know Pinescript draws bars from left to right.
3. We will look for ATR candles. Once found we will try to find another ATR candle this time going back from right to left such that distance between two ATR candle should not be more than 6.
We should not consider two adjacent candles as ATR candles. At least there should be 1 candle between two ATR candle to consider those candles as ATR candle.
4. First ATR candle should consider as right of the box.
5. Second ATR candle should consider as left of the box.
6. Highest High point of the candles between the two candles should consider as Top of the box in Support Area.
7. Lowest low point of the candles between the two candles should consider as bottom of the box in Resistance Area.
8. Store all the support area boxes and resistance area boxes into support area array and resistance area array respectively.
9. Resistance boxes should have red background and red colour border.
10. Support boxes should have green background and green colour border.
11.. We should not use built-in variables like open, high, low, close or ta.atr(14) of the current chart instead we need to get these variables as Open, High, Low, Close or ATR(14) using request.security() function even for the current chart. For validation we can use built-in variables.
12. Suppose we are fetching 75 minutes data of a ticker from request.security() function and plot it on the chart.
13. We should be able plot the similar boxes in the lower timeframe say 5 minutes or 10 minutes timeframe that’s why I said to use request.security function for analizing.
14. To validate this, we can use built-in variable of 75 minutes chart and see where the boxes are drawn using the above conditions and note those down and now apply this indicator first in 75 time frame and see same boxes are drawn and then in lower time frame say 5 minute or 10 minutes. It should draw those boxes of 75 minute timeframe in 5 or 10 minute timeframe charts.
15. I would also like to have pivot points captured in an array.
16. Will also like to know the trend of the ticker where it is Uptrend, Downtrend or Sideways.
17. All ATR Candles of the current chart should be marked as Blue on the chart.
Please reach out to me in case, you are having any queries regarding the requirement.
I can also provide some skeleton, if you need. I will be adding method names which I am expecting also might add some basic codes and flow which will help you proceed.
I have various other items lined up which can act as the enhance to this requirement. I would love to hear back from you and support.
Code Skeleton : - https://pastebin.com/s2Ta782J
Let’s team up and rock.
Thanks in advance.