How to create specific date in probuilder
Forums › ProRealTime English forum › ProBuilder support › How to create specific date in probuilder
- This topic has 7 replies, 4 voices, and was last updated 3 years ago by Vonasi.
-
-
01/18/2021 at 4:52 PM #15832701/18/2021 at 5:27 PM #15833701/18/2021 at 6:40 PM #158347
No, your code is wrong.
YYYYMMDD is the correct date format.
You can build any date by multiplying single data this way:
YYYY0000 2020 * 10000 = 20200000 +
MM00 2 * 100 = 200 +
DD 2 * 1 = 2 =
YYYYMMDD = 20200202DATEs are just numbers.
01/18/2021 at 7:10 PM #15835901/18/2021 at 7:47 PM #158373I have taken this example from another thread. code is by Nicholas. take some time to understand it, feel free to ask questions
12345678910111213ONCE Periods = 20 //last 20 barsONCE PerCent = Periods * 0.9 //90% of times on the riseONCE RsiNum = 14MyRsi = rsi[RsiNum](close)idate = 20190106if summation[Periods](MyRsi > MyRsi[1]) >= PerCent and date=idate thentest=1endifSCREENER[test]setting the idate to your selected date and using date=idate is the key for you I think.
01/19/2021 at 12:13 AM #15841501/19/2021 at 12:27 AM #158416instead i am having to manually go to that date.
Yeah, unfortunately they are separate entities, but you can have many many charts, so set it up as you wish 👍
01/20/2021 at 11:50 AM #158654cc267 – Follow the forum rules.
- Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.
-
AuthorPosts
Find exclusive trading pro-tools on