Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 14:09:41 +0000



Post From: build my own study

[2018-05-24 14:09:06]
User635423 - Posts: 51
I would like to learn how to build my own study. I need help and direction. I have no developer training.



I am not sure if what I want to build would be called a true study or if it would be more of a visual add. I draw a small rectangle on my charts. The rectangle is based on the high and low of the preceding candlestick on my 15-minute chart. There are times when I draw two rectangles one for the high and one for the low but mostly I draw only one or the other depending on the trend. I need the ability to have both rectangles showing even if they overlap.



I draw the upper rectangle one tick above the high of the Candlestick and then down eight ticks. For the lower rectangle I start one tick below the low of the candlestick and then up eight ticks. The width of the rectangles is three candlesticks or three bars wide. It starts from the privoius candlestick and is drawn left to right in front of the current candlestick. The right side of the rectangle leads the current candlestick by one bar width or by the width of one candlestick.



As each new candlestick is formed I move or redraw my rectangle/s on the next candlestick. This becomes a bit tricky when the volume picks up, and when the price scale is also changing due to volume. I also run into problems when the range of the candlestick is small, which causes the drawn rectangles to overlap. Sometimes in the Sierra charts when I place the pointer over a drawing there is interference from any overlapping drawings.



With the formation of a new candlestick the study would place /draw a new rectangle on the new preceding candlestick and remove the drawing from the previous candlestick. This action would continue throughout the session. I have attached a file with an example of my drawing.



I did see the "Build Custom Studies DLL" under the Analysis Tab but I was totally lost. Thank you for any help you can give me.