Dark
Theme
Light
Theme
Register
Username or Email
Username or Email
Password
Password
Forgot
Signup
Forgot
Browse
Register
Downloads / Indicators
Articles
Upgrade to Elite
Unanswered Posts
My Posts
Return to Homepage
Today's Posts
Trading Reviews and Vendors
Futures Brokers Reviews
Traders Hideout (general)
Platforms and Indicators
Trading Journals
Elite Trading Journals
Psychology and Money Management
Off-Topic
The Elite Circle
Webinars
Trading Articles
Main Trading Articles Index
Article Categories
Help, Tutorials, How-To's
Traders and Trading Methods
Platforms, Tools and Indicators
Terms (Glossary)
Article Tools
List New Articles
List Recent Article Changes
Random Article
Most Popular Articles
Category Groupings
Wanted Articles
Most Linked to from Forum
Go to Page...
Quotes
by TradingView
>
Search Forums
>
Showing results 1 to 6 of 6
Filter subforums listed
Search:
Posts Made By:
rleplae
Forum:
MultiCharts
August 28th, 2014, 07:36 PM
Replies:
12
In C# how do I compare the current bar's time with a hardcoded 14:30:00?
Views:
4,058
Posted By
rleplae
Understood
The reason for this behavior is due to the fact that on certain days there is no bar between , 14:00 and 14:20 that resets the flag. I have modified the code to reset the flag once we are passed...
Forum:
MultiCharts
August 28th, 2014, 03:22 PM
Replies:
12
In C# how do I compare the current bar's time with a hardcoded 14:30:00?
Views:
4,058
Posted By
rleplae
i think it has to do, where that code is i...
i think it has to do, where that code is
i don't see any errors right away
Forum:
MultiCharts
August 28th, 2014, 02:12 PM
Replies:
12
In C# how do I compare the current bar's time with a hardcoded 14:30:00?
Views:
4,058
Posted By
rleplae
my thoughts
i was just going to say.... with that if, it will only trigger if exactly on that time there is a bar,
if there is 5 second silence, then your code would not be triggered
therefore you would more...
Forum:
MultiCharts
August 27th, 2014, 04:40 PM
Replies:
12
In C# how do I compare the current bar's time with a hardcoded 14:30:00?
Views:
4,058
Posted By
rleplae
syntax
shodson gave a shorter, more simple solution
but i'm also creating class libraries/trading strategies that run outside of NT
and then a more standard c# approach is better
but if you stay...
Forum:
MultiCharts
August 27th, 2014, 04:19 PM
Replies:
12
In C# how do I compare the current bar's time with a hardcoded 14:30:00?
Views:
4,058
Posted By
rleplae
and time
as an example :
if ((String.Compare(Time[0].ToString("HHmmss"),"143000") < 0) ||
(String.Compare(Time[0].ToString("HHmmss"), "144500") >0))
{
// do what you want to do...
// do nothing...
Forum:
MultiCharts
August 27th, 2014, 04:12 PM
Replies:
12
In C# how do I compare the current bar's time with a hardcoded 14:30:00?
Views:
4,058
Posted By
rleplae
The answer...
as an example :
if ((String.Compare(Time[0].ToString("yyyyddMM"),"20140309") < 0) ||
(String.Compare(Time[0].ToString("yyyyddMM"), "20140330") >0))
{
// do what you want to do...
}
Showing results 1 to 6 of 6
What unexpected challenges have you encountered while trading on a "Funded Trader" platform?
Limited trading instruments
High platform usage fees
Lack of support or mentorship
Unrealistic rules and requirements
No significant challenges
Something else (discuss in thread)
View Results
Discuss Poll
futures io is now NexusFi
Trading Webinars How-to's
Trading Reviews & Products
Join Markets Chat waitlist
NinjaTrader Brokerage (Broker)
Ninja Mobile Trader (Server Hosting)
Apex Trader Funding (Prop Trading)
Tradovate (Trading Platform)
NinjaTrader (Trading Platform)
SharkIndicators (Trading Software)
© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.