Pivot Point Strategy

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


Re: Pivot Point Strategy

Postby mangonel » Thu Sep 24, 2020 2:44 pm

I want to BUY at R4 and i want to add in the R4 Limit options,an extra choice of R4 -S4 (R4 minus S4)
I want to SELL at S4 and i want to add in the S4 Limit options,an extra choice of R4 - S4 (R4 minus S4)

For example :
If the R4- S4 are let's say 37 pips (R4 minus S4 = 37 pips) then if currencie touch the R4 the strategy BUY and create a limit order 37 pips higher than R4 which is R4 minus S4 = 37 pips.

For instance going Long :
If R4 1,3457 and S4 1.3420 then the diffrence between R4-S4 are 1.3457 - 1.3420 =0.0037, so the limit are R4 + (R4-S4) 1.3457 + 0.0037 = 1.3494

For example :
If the R4- S4 are let's say 37 pips (R4 minus S4 = 37 pips) then if currencie touch the S4 the strategy SELL and create a limit order 37 pips lower than S4 which is R4 minus S4 = 37 pips.

For instance going Short :
If R4 1,3457 and S4 1.3420 then the diffrence between R4-S4 are 1.3457 - 1.3420 =0.0037, so the limit are S4 - (R4-S4) 1.3420 - 0.0037 = 1.3383

Thank you in advance !
mangonel
 
Posts: 45
Joined: Thu Mar 17, 2016 4:16 pm

Re: Pivot Point Strategy

Postby Apprentice » Sun Sep 27, 2020 2:05 pm

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

Re: Pivot Point Strategy

Postby Apprentice » Mon Sep 28, 2020 4:35 am

Highly Adaptable Pivot Strategy v3.lua
(31.7 KiB) Downloaded 229 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pivot Point Strategy

Postby mangonel » Mon Sep 28, 2020 11:45 am

Apprentice i don't know if there is a bug or something that i don't understand but i notice this in the backtest in demo and live in demo

Strategy 1 :
when i choose as breakaway strategy buy at R4 limit R4+(R4-S4) and sell at S4 limit S4-(R4-S4) with the price type "Bid" the strategy favor the short trades (first picture with 1080 trades)

Strategy 2 :
when i choose as breakaway strategy buy at R4 limit R4+(R4-S4) and sell at S4 limit S4-(R4-S4) with the price type "Ask" the strategy are in balance in long - short trades but the trades are quite less than strategy 1 (second picures with 174 trades) -same currencie and time period-

Strategy 3 :
when i choose as reverse strategy sell at R4 limit S4 and Buy at S4 limit R4 with the price type "Bid" the strategy favor the long trades (third pictures with 1122 trades)

Strategy 4 :
when i choose as reverse strategy sell at R4 limit S4 and Buy at S4 limit R4 with the price type "Ask" the strategy are in balance in long - short trades but with much less trades than strategy 3 (fourth pictures with 285 trades) -same currencie and time period-

Any thoughts about that ? Apprentice the strategy could be proved quite profitable and i think it's worth your time.Thank you in advance as always.
Attachments
1.Bid break.png
2.Ask break.png
3.Bid reverse.png
4.Ask reverse.png
mangonel
 
Posts: 45
Joined: Thu Mar 17, 2016 4:16 pm

Re: Pivot Point Strategy

Postby Apprentice » Tue Sep 29, 2020 5:35 am

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

Re: Pivot Point Strategy

Postby Apprentice » Wed Sep 30, 2020 10:57 am

I don't see any issues there.
Bid and Ask are different prices.
Pivot does have different outputs on Bid and Ask.
That results in different stops and limits.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pivot Point Strategy

Postby mangonel » Mon Jan 24, 2022 8:59 am

Apprentice can you check the Mandatory closing for the Highly Adaptable Pivot Strategy v3.lua ? It is not operational.
mangonel
 
Posts: 45
Joined: Thu Mar 17, 2016 4:16 pm

Re: Pivot Point Strategy

Postby Apprentice » Wed Jan 26, 2022 3:13 am

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

Previous

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 17 guests

cron