Codes

AwesomeModPips for MetaTrader 5

This indicator is a modification of classical Awesome Oscillator indicator

PipsToAverage for MetaTrader 5

This indicator measures the (smoothed) distance in pips between the close and an exponential moving average

Rate_AOModPips for MetaTrader 5

This indicator measures the rate of change of AwesomeModPips indicator

Smoothed Awesome indicator for MetaTrader 4

This indicator is a modification of classical Awesome indicator. It computes the smoothed rate of change of two exponential means

Fractals Modified for MetaTrader 4

This indicator is a small modification of classical Fractals Indicator. You can choose the number or left/right bars to have a new top or bottom as well a shift parameter

Awesome Modified for MetaTrader 5

This indicator is a modification of classical Awesome indicator. It computes the smoothed rate of change of two exponential means

Fractals Modified for MetaTrader 5

This indicator is a small modification of classical Fractals Indicator. You can choose the number or left/right bars to have a new top or bottom as well a shift parameter

Forum

MetaTrader5 python library

I've discovered this library today and I've started to play with it. I was looking for answers in the forum but I didn't found... My first question is about getting data from copy_rates_range and copy_ticks_from. It seems that for all periods the maximum number of bars obtained is 100k. I mean the

iTime format: from integer to date

Hi all, I write a file in an expert with timestamp, OHLC and Volume obtaining something like: 1522101000,1.24556,1.24559,1.24546,1.24557,126 I would like to have something like: 2018.03.27 21:53:00,1.24556,1.24559,1.24546,1.24557,126 Here is the code: int handle_write = FileOpen ( StringConcatenate

Read csv file with a single float number

I need to read a .csv file with a single number (say 0.45365345). Depending of this number the expert will make decisions on trading... I have wrote the following piece of code in the start() function: // Read the file with the probability int handle= FileOpen ( "test.csv" , FILE_CSV , ';' );

Multicurrency experts

I want to implement an MT4 multicurrency expert and I have a problem with Bid and Ask prices for all the symbols (with the exception of the one where the expert is attached). I looked for that in the forum and the answer is that I have to use MarketInfo() but that's exactly what I'm doing... I

MovingAverages

Anyone knows if there is an include file similar to the one for MQL5: https://www.mql5.com/en/code/77 for MQL4 . Or if it is possible to apply averages to other indicators? Thank you in advance