Candles arbitrary seconds Indicator For MT5
Table Of Contents:
- Candles arbitrary seconds Indicator For MT5
- Candles arbitrary seconds Indicator For MT5インストール
- Candles arbitrary seconds Indicator For MT5パラメーター
- Candles arbitrary seconds Indicator For MT5
- コードの主要部分
Candles arbitrary seconds Indicator For MT5のCandles arbitrary seconds Indicator For MT5
Candles arbitrary seconds Indicator For MT5インストール
上記のフォームからインジケーターをダウンロードした後、zipファイルを解凍する必要があります。次に、ファイルCandles_parbitrary_seconds8_1.1.mq5をMT5インストールのMQL5Indicatorsフォルダーにコピーする必要があります。その後、MT5を再起動してください。そうすると、インジケーターのリストにインジケーターが表示されます。
Candles arbitrary seconds Indicator For MT5パラメーター
Candles arbitrary seconds Indicator For MT5は、構成する1 パラメーターがあります。
input int Seconds = 3; // Seconds for candles interval
Candles arbitrary seconds Indicator For MT5
Candles arbitrary seconds Indicator For MT5は、 5 バッファーを提供します。
SetIndexBuffer(0,cano ,INDICATOR_DATA); SetIndexBuffer(1,canh ,INDICATOR_DATA); SetIndexBuffer(2,canl ,INDICATOR_DATA); SetIndexBuffer(3,canc ,INDICATOR_DATA); SetIndexBuffer(4,colors,INDICATOR_COLOR_INDEX);
コードの主要部分
int OnCalculate(const int rates_total, const int prev_calculated, const datetime& time[], const double& open[], const double& high[], const double& low[], const double& close[], const long& tick_volume[], const long& volume[], const int& spread[]) { int bars = Bars(_Symbol,_Period); if (bars lt rates_total) return(-1); updateData(); return(rates_total); }