Compare Prices

Custom MT4 expert advisors published here.

Moderator: admin

Compare Prices

Postby Apprentice » Tue Sep 27, 2016 11:25 am

ComparePrice.png

Compare Prices

LUA Original: viewtopic.php?f=17&t=2162

Description:

This is a simple indicator based on the following formula using PRICE_CLOSE and Log Base 10 to Compare Prices:

Main[period] = Price[period];
Log[period] = Price[period] /(1+ Math.Log10(Price[period-shift]/Price[period]));

This indicator leaves the door open to work with the same concept using other type of price and/or Shift/Log properties in the formula.
ComparePrices.mq4
(1.46 KiB) Downloaded 705 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 49 guests