View Single Post
  #3 (permalink)  
Old 10-31-2006, 07:05 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow

Quote:
Originally Posted by yaniv_av
Suppose I run an EA code on a 5 min chart.
How can I know the current value of some indicator, lat's say RSI, on the 15 min chart (of the same symbol of course), or any other time frame rather the time frame from which I run the EA?

10X !
yaniv.
All the build-in Indicators have a prameter for the time frame - set it to the time frame u want or set it to 0 which means to use the current timeframe of the chart:

PHP Code:
double iRSIstring symbolint  timeframeint periodint  applied_priceint shift
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote