Notes of MC8.0

Alright alright alright~
The first notes is about the basic use of multicharts

As an Engineer, Im not feeling strange about programming (Python/C++). But im so confused when i first written script in Multicharts. Thus, Ive started reading the manual:
https://www.tradestation.com/university/learning/easylanguage-books/

EL+Essential. Page 15:

  • Originally based on the Pascal programming language, statements are evaluated from the top of the code down to the bottom, once for each historical bar in s chart, and then calculated tick by tick real-time when the markets are open.
  • There are no built-in global variables in EasyLanguage, however, an external program (dll) may accomplish this if needed.
  • Each bar contains the data values open, high, low, and close. Each bar may also contain data for volumeoption volumeimplied volatility, and open interest (depending on the symbol). Each bar also has a date and time stamp.
  • EasyLanguage always thinks and calculates in bars, not in days or minutes or ticks
  • MaxBarsBack may affect your strategy.0

This is so stupid. They're going to right a script at every ticks. Well, the speed of the code does matter.
At least, I know the datatypes of the program:
1. open, high, low, and close
2. volume
3. date/timestamp

Gosh, I really want to do this in Python. Seems it make much more sense and logical statement.




Template:
{****************************
Written by: Mr. Panda
Description: A template for general Plots
****************************}
Inputs: {Any parameter from external source, with "," to separate and ";" to end}
Vars: {Declare internal variable(s)}

{Coding start}

{Replace <value> with sth you want to see on plots}
value1 = <value>;
value2 = <value>;
Plot1( value1 , "Plot1" );
Plot2( value2 , "Plot2" );

Comments