Forum

How to place Symbol on top of previous candle high

How can we place a high in the previous candle high using code? So I want to place an X or some character on top of the last highest candle from the past 10 candles. Thanks

Writing text in Panel Window

What code can be used to add text information in the following panel window? I'm a beginner coder.. thanks for your help... My idea is to add some statistic information in this screen from my indicator. I'm using the following code to start it. int OnInit () { //--- create application dialog

Drawing a line with two points

I would like to draw a simple line 10 points above from my entry. But this line needs to start 2 candles ago and end 2 candles in front of my entry candle. Is this possible? Can someone post a sample code? Thanks