A System: AIS1 Advanced Indicator Superlight


Modification: 10331
Release date: 11.03.2009


Instruction


Content
1. Introduction
2. Installation
3. Control
4. Properties
5. Conclusion


1. Introduction

1.1. AIS1 Advanced Indicator Superlight is MQL4 program for MetaTrader 4 Client Terminal.
1.2. AIS1 Advanced Indicator Superlight complements AIS1 Advanced Indicator:
     1.2.1. displaying only higher timeframes over standard ones;
     1.2.2. allowing multiple copies with different settings.


2. Installation

2.1. AIS1 Advanced Indicator Superlight has following filenames:
     2.1.1. "AIS1AIS.MQ4" is name of MQL4 code file;
     2.1.2. "AIS1AIS.EX4" is name of executable file.
2.2. Download "AIS1AIS.MQ4" file.
2.3. Find MetaTrader 4 Client Terminal directory that thereafter is denoted "%MT4%".
2.4. In most cases MetaTrader 4 Client Terminal directory is "C:/Program Files/MetaTrader 4".
2.5. Copy "AIS1AIS.MQ4" file to "%MT4%/experts/indicators" directory.
2.6. Run MetaTrader 4 Client Terminal that thereafter is denoted "MetaTrader".
2.7. Press <F4> to run MetaEditor.
2.8. In MetaEditor press <Ctrl-O> to view "Open" dialog box.
2.9. Open "AIS1AIS.MQ4" file in "%MT4%/experts/indicators" directory.
2.10. Inspect modification in line 7.
2.11. Inspect release date in line 8.
2.12. Press <F5> to compile code.
2.13. Press <F4> to return in MetaTrader.
2.14. In MetaTrader press <Ctrl-N> to view "Navigator" window.
2.15. Select "Common" tab of "Navigator" window.
2.16. Open "Custon indicators" list.
2.17. Find "AIS1AIS" item.
2.18. "AIS1AIS" is short name of "AIS1AIS.EX4" executable file.
2.19. Drag-and-drop "AIS1AIS" on the chart.
2.20. "Custom indicator - AIS1AIS" will appear.
2.21. In "Custom indicator - AIS1AIS" window:
      2.21.1. in "Common" tab let all options be as is;
      2.21.2. in "Colors" tab let all options be as is;
      2.21.3. in "Visualization" tab set "All timeframes"="On" and "Show in Data Window"="On";
      2.21.4. .
2.21.   "Custom Indicator - AIS1AIS":
      2.21.1. in "Common" tab let all options be as is;
      2.21.2. in "Colors" tab let all options be as is;
      2.21.3. in "Visualization" tab set "All timeframes"="On" and "Show in Data Window"="On";
      2.21.4. in "Inputs" tab set one of following values of "aei.ID" variable:
              2.21.4.1. "1" for timeframes M1 with color "Red";
              2.21.4.2. "2" for timeframes M5 with color "Orange";
              2.21.4.3. "3" for timeframes M15 with color "Yellow";
              2.21.4.4. "4" for timeframes M30 with color "Green";
              2.21.4.5. "5" for timeframes H1 with color "Blue";
              2.21.4.6. "6" for timeframes H4 with color "Indigo";
              2.21.4.7. "7" for timeframes D1 with color "Violet";
              2.21.4.8. "8" for timeframes W1 with color "Gray";
              2.21.4.9. "9" for timeframes MN1 with color "White";
              2.21.4.10. any other for standard size timeframes with color "White".
2.22. Push [OK] button of "Custom indicator - AIS1AIS" window.
2.23. Higher timeframes will appear on the chart.
2.24. Installation has been completed.


3. Control

3.1. In MetaTrader press <F3> to view "Global Variables" window.
3.2. There are 5 items:
     3.2.1. "AIS10331.Setup.1.1.SynthFrames" controls synthetic timeframes plotting;
     3.2.2. "AIS10331.Setup.1.2.SynthSize" defines size of synthetic timeframes;
     3.2.3. "AIS10331.Setup.2.1.BarsColor" defines color of synthetic timeframes;
     3.2.4. "AIS10331.Setup.2.2.MeanLinesColors" defines color of average price lines;
     3.2.5. "AIS10331.Setup.2.3.SlopesColor" defines color of "Open - Close" lines.
3.3. Value "1" of "AIS10331.Setup.1.1.SynthFrames" enables plotting.
3.4. Value "0" of "AIS10331.Setup.1.1.SynthFrames" disables plotting.
3.5. Value of "AIS10320.Setup.SynthSize" defines size of synthetic timeframes; allowed ones are:
     3.5.1. 1,
     3.5.2. 5,
     3.5.3. 15,
     3.5.4. 30,
     3.5.5. 60,
     3.5.6. 240,
     3.5.7. 1440,
     3.5.8. 10080,
     3.5.9. 43200.
3.6. Size of timeframes is measured in 1 minute timeframes.
3.7. Value of control items p.3.2.3-3.2.5. set:
     3.7.1. "255" - "Red" color;
     3.7.2. "42495" - "Orange" color;
     3.7.3. "65535" - "Yellow" color;
     3.7.4. "32768" - "Green" color;
     3.7.5. "16711680" - "Blue" color;
     3.7.6. "8519755" - "Indigo" color;
     3.7.7. "15631086" - "Violet" color;
     3.7.8. "8421504" - "Gray" color;
     3.7.9. "16777215" - "White" color;
     3.7.10. "0" - "Black" color.


4. Properties

4.1. Synthetic timeframe properties of AIS1 Advanced Indicator Superlight and AIS1 Advanced Indicator are the same.
4.2. Properties of AIS1 Advanced Indicator are described in AIS1 Advanced Indicator Instruction.


5. Conclusion

5.1. To remove AIS1 Advanced Indicator Superlight from the chart:
     5.1.1. press <Ctrl-I> to view "Indicators on the chart" window;
     5.1.2. open "Main chart" list;
     5.1.3. select "AIS1AIS" item;
     5.1.4. push [Delete] button of "Indicators on the chart" window;
     5.1.5. push [Close] button of "Indicators on the chart" window;
     5.1.6. indicator objects will disappear.
5.2. Remove and rerun AIS1 Advanced Indicator Superlight if any embarrassment is occured.
5.3. Always check that you are using latest modification of AIS1 Advanced Indicator Superlight.
5.4. Latest modification is stored in http://codebase.mql4.com/5411.
