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

ComparePrices - indicator for MetaTrader 5

Views:
4622
Rating:
(7)
Published:
2018.12.28 12:59
Updated:
2019.01.17 11:29
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator Compare Prices uses a non-standard price with a logarithmic calculation.

It displays two lines: the initial Close price (green) and the one calculated based on the algorithm (red).

It has one input parameter:

  • Prices shift - price shift for logarithm calculation.

Calculations:

MainPrice = Close
LogPrice = Close / (1.0+LOG10(ShiftClose / Close)

where:

LOG10 - logarithm to base 10
ShiftClose - Close Prices shift bars back

Fig1. Compare Price, Prices shift = 1


Fig. 2. Compare Price, Prices shift = 5

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22797

Hurst_Difference Hurst_Difference

Indicator Hurst Difference

LWMA_MA LWMA_MA

Indicator LWMA/SMA ratio

Rubicons_CCI_Cross Rubicons_CCI_Cross

Indicator Rubicons CCI Cross

GannSwing GannSwing

Indicator Gann Swing