Peak Indicator Mod

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Peak Indicator Mod

Postby logicgate » Mon Jul 06, 2020 2:32 pm

Hi there dear friend Apprentice.

I found this indicator here called "Peak", It seems to do a good job identifying buy/selling peaks and reversals. I took a look at the code but could not understand if it uses volume or not in the calculation.

I will attach it here, I and I was hoping that you could take a look at the code to see if it uses volume or not in the calculation.

In the case it only uses price, I was wondering if you could modify it to use volume + price.

Best regards
Attachments
Peak.mq4
(6.68 KiB) Downloaded 246 times
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Peak Indicator Mod

Postby Apprentice » Tue Jul 07, 2020 8:14 am

OHLC is used without volume.
How volume will be incorporated?
Something like On balance volume?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Peak Indicator Mod

Postby logicgate » Tue Jul 07, 2020 8:29 pm

Apprentice wrote:OHLC is used without volume.
How volume will be incorporated?
Something like On balance volume?


Hello my friend. Actually I have no idea, perhaps use the same principle of the volume weighted moving average, doesn´it combine price + volume? I leave to you to use your wizardry.

There is something peculiar about his peak indicator, it does a very good job of pinpointing buying and selling peaks, don´t know how.

I believe that integrating volume will give even more precise signals, but I could be wrong.

Check the screenshots attached.
Attachments
SP 1H.png
Peak B.png
Peak C.png
Peak D.png
Peak E.png
Peak F.png
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Peak Indicator Mod

Postby Apprentice » Wed Jul 08, 2020 4:12 am

Your request is added to the development list.
Development reference 1651.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Peak Indicator Mod

Postby logicgate » Wed Jul 08, 2020 7:31 am

Apprentice wrote:http://fxcodebase.com/code/viewtopic.php?f=38&t=70144
This makes really strange results.


Thanks buddy, do you wanna test another version using the "on balance volume" principle to see how it compares?
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Peak Indicator Mod

Postby logicgate » Wed Jul 08, 2020 8:17 am

Yeah I just tested here:

-MA type in options does not make any difference in the results
-It does not matter the value you put on the Price MA, does not change the results
-The value of the Volume MA at minimum (1) will plot the same thing as the original Peak
-The more you increase the value of Volume MA the peaks starts getting out of sync


So yeah, volume weighted MA is not the best solution here.

Perhaps the "on balance volume" principle can give better results (or not :lol: )
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Peak Indicator Mod

Postby logicgate » Fri Jul 10, 2020 5:53 pm

Are you gonna do it?
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Peak Indicator Mod

Postby Apprentice » Sat Jul 11, 2020 4:16 pm

Your request is added to the development list.
Development reference 1685.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Peak Indicator Mod

Postby Apprentice » Thu Aug 06, 2020 6:01 am

Peak OBV.mq4
(9.04 KiB) Downloaded 291 times

Volume Weighted Moving Average OBV.mq4
(3.64 KiB) Downloaded 274 times

OBV_Mod: viewtopic.php?f=38&t=60488
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Google [Bot] and 11 guests