Simple moving average arithmetic

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Simple moving average arithmetic

Postby Apprentice » Tue Jan 22, 2019 10:58 am

CHFJPY H8 (01-22-2019 1502).png

Price - MA
Calculated as MA(1) of Close - MA(X) of Close
High-Low.png

High-Low
Calculated as MA(1) of High - MA(1) of Low
For first intermediate value
"0", "1+2", "1-2" "1" , "2", "0-1" , "0-2");
0-Zero
1.1. MA
1.2. MA

For second intermediate value
"0", "1+2", "1-2" "1" , "2", "0-1" , "0-2");
0-Zero
2.1. MA
2.2. MA

For final value
"1+2", "1-2" "1" , "2", "0-1" , "0-2");
0-Zero
1. intermediate value
2. intermediate value

Simple moving average arithmetic.lua
(14.18 KiB) Downloaded 414 times

For advanced valculation please use Indicator Arithmetic.bin.
EURUSD W1 (02-16-2019 0757).png

The following syntax is allowed.
Number + MVA(Period1, Price1) + MVA(Period2, Price2) -MVA(Period3, Price3)
Indicator Arithmetic.bin
(2.55 KiB) Downloaded 393 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Simple moving average arithmetic

Postby Apprentice » Sat Feb 16, 2019 3:54 am

Indicator Arithmetic.bin. added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 55 guests