Generic Two Stream Delta

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

Generic Two Stream Delta

Postby Apprentice » Fri Apr 10, 2020 9:13 am

EURUSD H1 (04-10-2020 1421).png

For selected indicator, will calculate the difference for selected streams.
Generic Two Stream Delta.lua
(3.41 KiB) Downloaded 402 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Generic Two Stream Delta

Postby Cactus » Tue May 26, 2020 8:07 pm

Hello Apprentice,

Long time. I will be more active on the forums again.
This is nice. Will be very useful. I love templates like this, makes creating strategies a lot easier.
Even though there are Python alternatives available I still find myself using Lua the most.

I found the "Generic Two Stream Delta" not displaying on chart. This was due to " indicator:type(core.Indicator)" actually needing to be "core.Oscillator" for anyone wondering
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere


Re: Generic Two Stream Delta

Postby coffeezoo » Sat Apr 01, 2023 12:39 am

Dear Apprentice
Could you explain what input you chose to come up with a nice screenshot like that?
Thank you.
coffeezoo
 
Posts: 2
Joined: Sat Apr 01, 2023 12:34 am

Re: Generic Two Stream Delta

Postby Apprentice » Mon Apr 03, 2023 8:02 am

With Generic Two Indicator Delta.lua
you can select any two indicator streams,
and calculate their difference.
As for the one I used in my example,
I have no idea.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Generic Two Stream Delta

Postby coffeezoo » Mon Apr 03, 2023 10:39 am

How can I select real volume on the offer for one stream and real volume on the bid for the other?
Thank you.
coffeezoo
 
Posts: 2
Joined: Sat Apr 01, 2023 12:34 am

Re: Generic Two Stream Delta

Postby Apprentice » Wed Apr 05, 2023 8:28 am

You can use Real Volume Indicator.
https://fxcodebase.com/code/viewtopic.php?f=17&t=69949
FXCM does not provide Bid/Ask volume breakdown.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 37 guests

cron