NexusFi: Find Your Edge


Home Menu

 





Powerlanguage minute


Discussion in MultiCharts

Updated
    1. trending_up 1,258 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

Powerlanguage minute

  #1 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

Hi all,

there is any shortcut/method to retrieve just "minute" information ?
For example a function that for time = 14:05 returns 5.

with this : print(formattime("m",datetime)); i can retrieve this info, but how to get integer value ?

Regards
No Erocla

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
About a successful futures trader who didnt know anythin …
Psychology and Money Management
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690


no erocla View Post
there is any shortcut/method to retrieve just "minute" information ?
For example a function that for time = 14:05 returns 5.

with this : print(formattime("m",datetime)); i can retrieve this info, but how to get integer value ?

You can use the MinutesFromDateTime keyword for this, like so:

 
Code
Variables:
	minutes(0);
	
minutes = MinutesFromDateTime(DateTime);

Reply With Quote
Thanked by:




Last Updated on October 22, 2015


© 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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts