ChartFormat for you
- Utilidades
- Vasyl Temchenko
- Versión: 1.0
Este pequeño guión alegrará tu vida.
A continuación se muestra su código, puede insertarlo en OnInit de cualquier robot. O cambie los colores y la escala a su gusto
#property copyright "V.Temchenko Skype:vasily.temchenko" #property link "Mailto:tvp.prog.96@gmail.com" #property version "1.00" #property strict #property description "Have questions? Skype: vasily.temchenko Viber: +38098 800-6-800"; #property description "If the voice - only Russian, Ukrainian or Belarusian"; #property description "And you can write in English, Russian, Ukrainian"; #property description "With pleasure I will write a robot according to your strategy."; #property description "I can also offer several robots according to my strategies."; #property icon "\\Images\\force64.ico"; // =============================================================================== void OnStart() { ChartSetInteger(0,CHART_SHOW_GRID,0,0); ChartSetInteger(0,CHART_COLOR_CHART_UP,White); ChartSetInteger(0,CHART_MODE,1);ChartSetInteger(0,CHART_SHOW_OHLC,0,0); ChartSetInteger(0,CHART_COLOR_CANDLE_BULL,White); ChartSetInteger(0,CHART_COLOR_CANDLE_BEAR,LightSeaGreen); ChartSetInteger(0,CHART_SCALE,2); ChartSetInteger(0,CHART_SHIFT,true); ChartSetDouble (0,CHART_SHIFT_SIZE,15); } //-- OnStart() // ===============================================================================
El usuario no ha dejado ningún comentario para su valoración