Watch how to download trading robots for free
Find us on Telegram!
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

Averages crosses - indicator for MetaTrader 5

Views:
9496
Rating:
(13)
Published:
2019.01.05 14:21
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

One more in the series of very simple (code wise - ie, execution speed is satisfactory, and to use) indicators :

This one is showing the crosses of two averages as signals and the direction of the last cross direction while it lasts. You can use the appearance of the signal value for trading signals

You can use one of the 4 basic averages for signals :

  • simple moving average (SMA)
  • exponential moving average (EMA)
  • smoothed moving average (SMMA)
  • linear weighted moving average (LWMA)



Heiken ashi - histogram Heiken ashi - histogram

Heiken ashi - histogram

Market mode - discontinued signal lines Market mode - discontinued signal lines

Market mode - discontinued signal lines

Singleton Example Singleton Example

This is a working singleton code example. The sole purpose of this post is to provide a working code sample of a singleton object. A singleton object is created when there 'can be only one' of the object. This is accomplished by making an object's constructor private, and ensuring assignment and copy operations are also private. I was working on an EA and identified that an object should never have more than one copy. I don't expect the EA to ever get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the object's type. The code follows closely the tutorial at http://www.yolinux.com/TUTORIALS/C++Singleton.html.

Nonlinear Kalman filter - floating levels Nonlinear Kalman filter - floating levels

Nonlinear Kalman filter - floating levels