Time wildcard for minutes? (e.g. run at every hour *:44 mins?) - NinjaTrader Programming | futures.io
futures.io futures trading


Time wildcard for minutes? (e.g. run at every hour *:44 mins?)
Started: by Jayswiss Views / Replies:133 / 2
Last Reply: Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Time wildcard for minutes? (e.g. run at every hour *:44 mins?)

  #1 (permalink)
Elite Member
San Francisco, CA / USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, TradingView
Favorite Futures: ES, TF, NQ, CL, GC
 
Posts: 29 since Jun 2016
Thanks: 4 given, 3 received

Time wildcard for minutes? (e.g. run at every hour *:44 mins?)

Does anyone know how I might have an IF statement fire if the time is either *:44 or *:29?

So if the time is...

00:44 or 00:29
01:44 or 01:29
02:44 or 02:29
03:44 or 03:29
04:44 or 04:29
and so on... through
23:44 or 23:29

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
San Francisco, CA / USA
 
Futures Experience: Intermediate
Platform: NinjaTrader, TradingView
Favorite Futures: ES, TF, NQ, CL, GC
 
Posts: 29 since Jun 2016
Thanks: 4 given, 3 received


One solution I was able to figure out...

if (Time[0].Minute == 29 || Time[0].Minute == 44)

{ // do stuff }

Reply With Quote

Reply



futures.io > > > > > Time wildcard for minutes? (e.g. run at every hour *:44 mins?)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

2016 True Edge Awards: Voting is open until Jan 21!

Now
 

An Afternoon with FIO member Massive l

Elite only
 

Anthony Drager: Pulling the trigger with confidence

Elite only
 

Leo Murphy: The Art and Science of Technical Analysis

Elite only
 

FuturesTrader71: Ask Me Anything

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating a Previous 2 Days average in a 5-mins time frame hong615 EasyLanguage Programming 5 March 28th, 2014 12:30 PM
Adding minutes to an hour in easylanguage onava TradeStation 3 March 6th, 2013 06:15 PM
Power Grid Change Could Make Clock Run Up To 20 Minutes Fast kbit Off-Topic 0 June 25th, 2011 10:28 AM
Ninja Trader 24 hour market codes and time zone changes don10 NinjaTrader 5 November 23rd, 2010 05:55 PM
Creating a 12 minutes time scale arjfca EasyLanguage Programming 4 September 19th, 2010 02:14 AM


All times are GMT -4. The time now is 09:55 PM.

no new posts
Page generated 2017-01-19 in 0.08 seconds with 20 queries on phoenix via your IP 54.145.218.90