Thread: How to code?
View Single Post
  #1530 (permalink)  
Old 01-13-2009, 07:44 AM
Moxy's Avatar
Moxy Moxy is offline
Junior Member
 
Join Date: Oct 2007
Posts: 2
Moxy is on a distinguished road
Quote:
Originally Posted by luxinterior View Post
You're best bet is to look in the metaeditor help file.

Take a look at functions like iMa, iStochastic and iCCI. They have examples and if you combine those with information you'll get from looking at the code in any EA you'll find it easy.

Good luck

Lux
Hi Lux,

Thanks for the reply. I can workout out the individual iMA statements etc... the problem i have is how to reference the different time bars once a signal is triggered. For example... If I have a GET READY signal I need to look at the 2 bars before and 2 bars after (5 bars in total) for the other indicators to confirm I have a BUY SIGNAL on the open of the next bar. Not sure if I am making sense !!

I guess it is... how would i structure the necessary FOR loops etc.. when I need to reference bars both before and after the bar being processed.

Regards,
Moxy
Reply With Quote