MQL4 - automated forex trading   /  

Forum

What is the script for getting the highest and lowest CLOSE of the last 30 bars? PLEASE HELP

Back to topics list To post a new topic, please log in or register

avatar
3
Trading_MM 2006.08.14 19:01 
Hi,

I am new to MQL4, but desperately need a script to find the highest CLOSE and lowest CLOSE of a given period, let's say 30 bars?

Would really appreciate your help.

Many thanks in advance.

Best regards,

Colin
article

A Trader's Assistant Based on Extended MACD Analysis

Script 'Trader's Assistant' helps you to make a decision on opening positions, based on the extended analysis of the MACD status for the last three bars in the real-time trading on any timeframe. It can also be used for back testing.


avatar
364
Irtron 2006.08.14 19:51 
double highestClose = Close[Highest(NULL, 0, MODE_CLOSE, 30, 0)];
double lowestClose = Close[Lowest(NULL, 0, MODE_CLOSE, 30, 0)];


avatar
3
Trading_MM 2006.08.14 20:03 
Wow, an amazingly fast reply
Thank you VERY much!
Back to topics list  

To add comments, please log in or register