![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Member
Join Date: Jun 2010
Location: gold coast australia
Posts: 92
Thanks: 15
Thanked 6 times in 5 posts
|
Hi Guys,
trying to make an indicator that plots out times of day as entered as a variable. Converting a variable into a time period so that deductions can be made is a little confusing. Is there an easy method for this. The below gives a time of 159000 which doesnt exist. Thanks Raef ![]() privateint d1Buy1 = 160000; // Default setting for D1Buy1 if( ToTime(Time[0]) == (d1Buy1 - 1000) ){DrawVerticalLine("tag2"+CurrentBar, 0, zupdotcolor); DrawText("TimeZone"+ CurrentBar, bz1, 0, Low[0] - (seperation) *TickSize, Color.Black);} |
|
|
|
|
|
#2 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
The following user says thank you to koganam for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Variables with ToTime | Torso | Strategy Development | 16 | 02-17-2011 09:52 AM |
| toTime | velocity | General Programming | 2 | 12-24-2009 10:02 AM |
| ToTime in 7 vs 6.5 | ATI user | Version 7 Beta General Questions & Bug Reports | 9 | 12-15-2009 09:35 AM |
| ToTime | John833 | Strategy Development | 2 | 11-25-2008 10:08 AM |
| ToTime | Edgar V. | General Programming | 7 | 04-02-2008 08:57 AM |