2014-01-12

MQL4 - Lesson 6 - Notes

You can access Jim Dandy's MQL4 youtube course here for free. He also has a website with videos here and here. These are my notes of lesson 6:

Message box and market info
  • disable extern string
  • enable original comment
  • delete show inputs line
  • new: message box instead of comment -> shows message box
    • message box -> integer type
    • at the message's end: …, "vital information" -> topic
    • at the end …, 1/2/3 -> different buttons in message box
  • int (double spread = market info (symbol(),Mode_Spread); … +DoubleToStr(Spread/10,1)
  • marketinfo:
    • spread: current spread
    • minlot: Smallest lot size allowed
    • maxlot: Biggest lotsize
    • lotstep: increments to increase the order
    • MarginRequired: Margin required to place a full lot trade

No comments:

Post a Comment