Thread: Coding Question
View Single Post
  #2 (permalink)  
Old 07-26-2007, 01:05 PM
Shinigami Shinigami is offline
Senior Member
 
Join Date: Dec 2006
Location: Ukraine
Posts: 491
Shinigami is on a distinguished road
Quote:
Originally Posted by Gaf View Post
Evening All:

I was wondering how to access information inside a function say the Awesome oscillator or the Accelerator indicator.

On bar close I wish to check the Awesome Oscillator and place a buy/sell stop depending on whether the bar is red or green (increasing or decreasing). Is there an easy way to do this. Hope this is clear. Thanks in advance. Cheers.

Gaf
Please consult MQL4: automated forex trading, strategy tester and custom indicators with MetaTrader for build-in indicators and their use in an EA.
For custom indicators you can use iCustom() function.
__________________
MQL4 programming is easy ^^
Reply With Quote