• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 5:23pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 5:23pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

How Does One get the Last Open Price of the Last opened order 1 reply

How To Get Highest Volume & Draw Horizontal Line At OHLC 19 replies

Get tick data of last 5 min for analysis? 1 reply

Howto get a Candle (High/Low/Open/Close) at any specific time 4 replies

Where to find open-high-low-close of last week 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: How to get the OHLC (Open, High, Low, Close) of the last 1 min
Exit Attachments

How to get the OHLC (Open, High, Low, Close) of the last 1 min

  • Post #1
  • Quote
  • First Post: Nov 9, 2016 5:48am Nov 9, 2016 5:48am
  •  johnnybegood
  • | Joined Sep 2009 | Status: Member | 102 Posts
How to get the OHLC (Open, High, Low, Close) of the last 1 min bar?
  • Post #2
  • Quote
  • Nov 9, 2016 6:01am Nov 9, 2016 6:01am
  •  emmanuel7788
  • Joined Nov 2008 | Status: Member | 36,619 Posts
Quoting johnnybegood
Disliked
How to get the OHLC (Open, High, Low, Close) of the last 1 min bar?
Ignored

look in your MT4 Data Window.
Honesty is a very expensive gift. You wont find it in cheap people.WBuffett
 
1
  • Post #3
  • Quote
  • Nov 9, 2016 7:20am Nov 9, 2016 7:20am
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting johnnybegood
Disliked
How to get the OHLC (Open, High, Low, Close) of the last 1 min bar?
Ignored
If mql4 use iOpen() etc
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #4
  • Quote
  • Dec 9, 2016 2:07am Dec 9, 2016 2:07am
  •  atanasxx
  • | Joined Dec 2016 | Status: Member | 23 Posts
just clink on candle u can see OHLC.
 
 
  • Post #5
  • Quote
  • Dec 9, 2016 3:02am Dec 9, 2016 3:02am
  •  alecsa72
  • | Joined Sep 2016 | Status: Member | 77 Posts
Quoting johnnybegood
Disliked
How to get the OHLC (Open, High, Low, Close) of the last 1 min bar?
Ignored
For Expert Advisor - check MQL4 docs: https://docs.mql4.com/series/iclose

Change the period to desired period, like PERIOD_M1, like here

Inserted Code
Print("Current bar for USDCHF H1: ",iTime("USDCHF",PERIOD_H1,0),", ",  iOpen("USDCHF",PERIOD_H1,0),", ",
                                      iHigh("USDCHF",PERIOD_H1,0),", ",  iLow("USDCHF",PERIOD_H1,0),", ",
                                      iClose("USDCHF",PERIOD_H1,0),", ", iVolume("USDCHF",PERIOD_H1,0));
 
 
  • Post #6
  • Quote
  • Last Post: Dec 9, 2016 4:55am Dec 9, 2016 4:55am
  •  cja
  • Joined Feb 2007 | Status: Member | 1,837 Posts
Attached File
File Type: mq4 OHLC 1 min.mq4   2 KB | 405 downloads
Trade what you see not what you hope
 
 
  • Platform Tech
  • /
  • How to get the OHLC (Open, High, Low, Close) of the last 1 min
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022