Forum

Value Captures in a Dynamic Array

Hi All, I have the following code on my editor. My questions are written in RED . I debug my program on a EURUSD M30 chart. Appreciate if anyone can provide me the answers. ------------------------------------------------------- void OnStart() { // the highest bar since market open double

How to write a program that return Highest High?

hi all, i am a complete beginner in EA. I would like to write a program that reads the Highest High of the last 3 30 mins bar on my chart, and return the highest value on my chart in a dialog box. Can anyone tell me how to do that? Thank you

Difference between !OrderCalcMargin and OrderCalcMargin

Can anyone tell me what is the difference between ! OrderCalcMargin and OrderCalcMargin? What is the purpose of the exclamation market infront? Cheers