Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 07:20:07 +0000



[Programming Help] - build my own study

View Count: 1129

[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.
[2018-05-24 17:59:37]
Sierra Chart Engineering - Posts: 104368
You need to start here:

http://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php



We do not provide any programming help.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-05-24 18:00:17

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account