SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Mon Sep 24, 2018 3:20 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Shift chart x - axis
PostPosted: Fri Sep 13, 2013 7:08 pm 
Offline

Joined: Sun Sep 01, 2013 9:31 pm
Posts: 22
Hello

I am making Swing High/Low Indicator.Swing points are formed when the high/low of a price is greater/lesser than a given number of highs/lows positioned around it . For example:
If Strenth = 2
Bar = 0 , High = 1.34 , Low = 1.25
Bar = 1 , High = 1.345 , Low = 1.29
Bar = 2 , High = 1.350, Low = 1.15 (Swing High)
Bar = 3 , High = 1.341 , Low = 1.05 (Swing Low)
Bar = 4 , High = 1.342 , Low = 1.26
Bar = 5 , High = 1.342 , Low = 1.23

Draw() function draw indicator value on current index. How can I specify x - axis in Draw() so that I can draw indicator value on specific index?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group