Programming Request

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

Programming Request

Postby Fernas » Thu Mar 19, 2020 7:10 am

Good Morning

I would like to request, if I may, to program the following logic please. Yes, (Dinapoli Preferred Stochastic Center Of Gravity Oscillator) is repeated TWICE, and the settings panel for the programmed indicator should show this indicator twice so different settings can be inserted.

Please Note: It would be highly appreciated, if possible, if the output of this indicator will be similar to the output in the photo attached.

Many Thanks for your Efforts


IF
ANN Strategy Indicator = 1 (Green)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = 1 (Green)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = 1 (Green)
AND
FTLM STLM RBCI in synchronization = 1 (Green)

THEN OUTPUT = 1 (Green)

IF
ANN Strategy Indicator = -1 (Red)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = -1 (Red)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = -1 (Red)
AND
FTLM STLM RBCI in synchronization = -1 (Red)

THEN OUTPUT = -1 (Red)

ELSE OUTPUT = 0


ANN Strategy Indicator.lua
search.php

Dinapoli Preferred Stochastic Center Of Gravity Oscillator.lua
viewtopic.php?f=17&t=66628&p=129573&hilit=DINAPOLI#p129573

FTLM STLM RBCI in synchronization.lua
viewtopic.php?f=17&t=67442&p=124402&hilit=FTLM+STLM#p124402
Attachments
0000.JPG
indicator output
User avatar
Fernas
 
Posts: 34
Joined: Thu Jul 20, 2017 3:06 pm

Re: Programming Request

Postby Apprentice » Thu Mar 19, 2020 9:22 am

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


Re: Programming Request

Postby Fernas » Fri Mar 20, 2020 9:01 am

Many thank for your kind efforts, you are a great help for us all.

however, after checking the indicator on 4 Hrs chart (see the photo attached), it is clear that this indicator is not matching the results given by its components when they are plotted separately. I tripled checked that the settings are matching. Could you please revise your programming, there must be a line that is not matching the logic given above.

many thanks
Attachments
ddddd.JPG
not matching
User avatar
Fernas
 
Posts: 34
Joined: Thu Jul 20, 2017 3:06 pm

Re: Programming Request

Postby Apprentice » Sat Mar 21, 2020 6:12 am

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

Re: Programming Request

Postby Fernas » Sat Mar 21, 2020 2:42 pm

Hi

I think I know the problem. I think the problem is with the data source for:

"FTLM STLM RBCI in synchronization" in Fernas Indicator

when I change the data source to "OPEN" price instead of CLOSE price in the stand alone indicator, I get a perfect match with Fernas Indicator. So, most probably, the error in Fernas indicator is due to the data source for (FTLM STLM RBCI in synchronization) is set to OPEN Price instead of the CLOSE Price.
could you please verify if that is the case.

Many Thanks
User avatar
Fernas
 
Posts: 34
Joined: Thu Jul 20, 2017 3:06 pm


Re: Programming Request

Postby Fernas » Mon Mar 23, 2020 8:30 am

ok
since it's not the logic in the coding that is causing the discrepancy, and "CLOSE" price is used, then if I may suggest the following:

could you please, if possible, in this indicator, add the option for (Data Source or PRICE MODE, i.e. Close, open, High .. etc.) for BOTH the following:

1- "FTLM STLM RBCI in synchronization" in Fernas Indicator
and
2- BOTH "Dinapoli Preferred Stochastic Center Of Gravity Oscillator" in Fernas Indicator

many thanks
User avatar
Fernas
 
Posts: 34
Joined: Thu Jul 20, 2017 3:06 pm

Re: Programming Request

Postby Apprentice » Tue Mar 24, 2020 9:26 am

Most of or all indicators used use bar as a source.
We will need to write a tick-based indicator prior to adding these options.

If even possible, tick-based indicators value will differ somewhat if compared with original indicator.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Programming Request

Postby Fernas » Thu Apr 02, 2020 8:19 am

Good morning

Thank you for your reply, I understand the difficulties involved.
May I ask for rewriting of the logic above by deleting completely the line concerning (FTLM STLM RBCI in synchronization.lua), however, adding instead a filter which we can switch OFF or ON as in the logic below.

IF
ANN Strategy Indicator = 1 (Green)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = 1 (Green)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = 1 (Green)

AND {a filter which can be SWITCHED ON or OFF}
Sell Relative Strength Index.lua > 0

THEN OUTPUT = 1 (Green)

IF
ANN Strategy Indicator = -1 (Red)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = -1 (Red)
AND
Dinapoli Preferred Stochastic Center Of Gravity Oscillator = -1 (Red)

AND {a filter which can be SWITCHED ON or OFF}
Sell Relative Strength Index.lua < 0

THEN OUTPUT = -1 (Red)

ELSE OUTPUT = 0



Sell Relative Strength Index.lua
viewtopic.php?f=17&t=67264&hilit=sell+relative#p123337

ANN Strategy Indicator.lua
search.php

Dinapoli Preferred Stochastic Center Of Gravity Oscillator.lua
viewtopic.php?f=17&t=66628&p=129573&hilit=DINAPOLI#p129573
User avatar
Fernas
 
Posts: 34
Joined: Thu Jul 20, 2017 3:06 pm

Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 20 guests