A System: AIS1 Standard Indicator Instruction Modification: 10304 Release date: 21.02.2009 Content 1. Introduction 2. Installation 3. Basic information 4. Customization 5. Conclusion 1. Introduction 1.1. AIS1 Standard Indicator is MQL4 program for MetaTrader 4 Client Terminal. 1.2. This instruction refers to original code http://codebase.mql4.com/5312. 2. Installation 2.1. AIS1 Standard Indicator has following filenames: 2.1.1. "AIS1SI.MQ4" is name of MQL4 code file; 2.1.2. "AIS1SI.EX4" is name of executable file. 2.2. Download "AIS1SI.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 "AIS1SI.MQ4" file to "%MT4%/experts/indicators" directory. 2.6. Run MetaTrader 4 Client Terminal that thereafter is denoted "MetaTrader". 2.7. Press to run MetaEditor. 2.8. In MetaEditor press to view "Open" dialog box. 2.9. Open "AIS1SI.MQ4" file in "%MT4%/experts/indicators" directory. 2.10. Inspect release date in line 8. 2.11. Inspect release code in line 9. 2.12. Press to compile code. 2.13. Press to return in MetaTrader. 2.14. In MetaTrader press to view "Navigator" window. 2.15. Select "Common" tab of "Navigator" window. 2.16. Open "Custon indicators" list. 2.17. Find "AIS1SI" item. 2.18. "AIS1SI" is short name of "AIS1SI.EX4" executable file. 2.19. Drag-and-drop "AIS1SI" on the chart. 2.20. "Custom indicator - AIS1SI" will appear. 2.21. In "Custom indicator - AIS1SI" 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.22. Push [OK] button of "Custom indicator - AIS1SI" window. 2.23. Four color lines will appear on the chart. 2.24. Press to view "Options" window. 2.25. In "Charts" tab of "Options" window set "Show ask line"="On". 2.26. Push [OK] button of "Options" window. 2.27. Press to view "Properties of the chart" window: 2.28. In "Properties of the chart" window: 2.28.1. in "Common" tab set "Show Ask line"="On"; 2.28.2. in "Colors" tab set "Ask line"="Blue". 2.29. Push [OK] button of "Properties of the chart" window. 2.30. Ask line will appear on the chart. 2.31. Note that on large timeframe charts Ask and Bid lines may look like single line. 2.32. Installation has been completed. 3. Basic information 3.1. AIS1 Standard Indicator thereafter is denoted "AIS1SI Indicator". 3.2. Currently formed bar thereafter is denoted "zero frame". 3.3. Open time of zero frame thereafter is denoted "zero time". 3.4. Right end of AIS1SI Indicator, that points to zero frame, is redrawed on every tick. 3.5. All lines of AIS1SI Indicator are redrawed on any of following events: 3.5.1. zero time change; 3.5.2. horizintal scale of the chart change; 3.5.3. vertical scale of the chart change; 3.5.4. shift of chart change; 3.5.5. chart scrolling. 3.6. Just after of p.3.5 events AIS1SI Indicator may look incomplete. 3.7. After of p.3.5 events AIS1SI Indicator is redrawed on new tick arrival. 3.8. Lower bold red line links "Low" prices of chart bars. 3.9. Upper bold blue line links "High" + Spread prices of chart bars. 3.10. Spread is: 3.10.1. current "Ask - Bid" difference for zero frame; 3.10.2. "Ask - Bid" difference at time of last indicator redrawing for all others chart bars. 3.11. Lower thin yellow line links average "{Low + High} / 2" prices of chart bars. 3.12. Upper thin green line links average "{Low + High} / 2" + Spread prices of chart bars. 4. Customization 4.1. Run MetaEditor. 4.2. Open "AIS1SI.MQ4" file in "%MT4%/experts/indicators" directory. 4.3. Go to lines 40-43. 4.4. Find "SetIndexStyle ()" functions: 4.4.1. in line 40 with index 3 function "SetIndexStyle ()" sets attributes of p.3.9 line; 4.4.2. in line 41 with index 2 function "SetIndexStyle ()" sets attributes of p.3.12 line; 4.4.3. in line 42 with index 1 function "SetIndexStyle ()" sets attributes of p.3.11 line; 4.4.4. in line 43 with index 0 function "SetIndexStyle ()" sets attributes of p.3.8 line. 4.5. It is possible to change: 4.5.1. drawing style; 4.5.1. line width; 4.5.1. line color. 4.6. To obtain available opportunities: 4.6.1. select interesting item; 4.6.2. press . 4.7. Compile code after changes have been made. 5. Conclusion 5.1. To remove AIS1SI Indicator from the chart: 5.1.1. press to view "Indicators on the chart" window; 5.1.2. open "Main chart" list; 5.1.3. select "AIS1SI" 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. AIS1SI Indicator lines will disappear. 5.2. Remove and rerun AIS1SI Indicator if any embarrassment is occured. 5.3. Always check that you are using latest modification of AIS1 Standard Indicator. 5.4. Latest modification is stored in http://codebase.mql4.com/5312.