Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

SpreadLogger + Bid and Ask Logger - indicator for MetaTrader 4

[Deleted]
Views:
21242
Rating:
(2)
Published:
2012.03.26 07:50
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author:

Mr. T from www.codeforex.com

It came the time to bring my input to MQL4 community as well. Many people do not know if the brokers are honest or not on Spread with them.

I developed 2 small indicators which will allow you to see hot the spread is performing real time and for the last few minutes or whichever you can thing your platform can hold. From my experience few minutes is more then enough to see that. All this is performed real-time and you will not have past data since MT4 does not store such kind of information - unless we will program it.

During News Release on most of pairs the Spread was almost doubled or tripled - and this was on demo account. I can't wait to see what will happen on a real-account. As soon as you will apply the indicators it will start Logging the Spread + Bid + Ask for the last 500 ticks or whichever you specify in the parameter LastTicks. In the beginning you will have only few of them but after one minute you will see that your chart has more data.

2 simple indicators:

  • _x_SpreadLogger.mq4 - keeps track of the latest spreads for the currency so you can see what is the min and max during a certain type of period
  • _x_BidAskLogger.mq4 - keeps track of the latest Bid and Ask proces for the currency so you can see how they performed a certain type of period

The template which comes with it allows you to apply them simultaneously to your chart - or you can apply _x_BidAskLogger first and then _x_SpreadLogger on the same subwindow or separately - as you wish

Recommendations:

  • Set LastTicks = 500(default) for optimum performance - I tried for bigger number but ussualy there is no need - 500 is enough to see the last 3-10 min
  • Copy the indicators to /experts/indicators folder
  • Copy the template to /templates folder
  • If you want the same layout as on the image apply the template

If you think that you would like to see some improvements in here feel free to comment below and I will implement them as soon as will get some time. There are some which I am working on right know but will share only when will be ready and tested. Please share your findings here with others.

RampokScalp RampokScalp

The Martingale with Envelope indicator.

Candle trader v1 Candle trader v1

Uses candlestick signals to trade.

Strategy Viewer Strategy Viewer

This is a script to view a myfxbook's CSV statements file in MT4.

Main Points - Dottor Market Main Points - Dottor Market

Three main pivot points : Daily - Weekly - Monthly.