Pivot Hedging Strategie

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

Pivot Hedging Strategie

Postby fortesan9 » Mon Apr 19, 2021 3:03 pm

Dearest FX Codebase ^ Co

Could this idea be developed into a strategie ?

If Price crosses Over or Under Pivot Point; Open both Long and Short Positions with the custom Stop Loss, Limit Profit and Position Limit parameters.

All this idea based on the Hedged RRR,

:D
Attachments
Hedged_RRR.xlsx
(23.85 KiB) Downloaded 184 times
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Re: Pivot Hedging Strategie

Postby Apprentice » Tue Apr 20, 2021 3:42 pm

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

Re: Pivot Hedging Strategie

Postby fortesan9 » Tue Apr 20, 2021 3:53 pm

Thanks a lot beforehand Don Apprentice,

I'm sure it will be fenomenal like all your works !
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Re: Pivot Hedging Strategie

Postby Apprentice » Fri Apr 23, 2021 3:49 am

I don't understand the hedging logic.
Can you provide more information on this bit?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pivot Hedging Strategie

Postby fortesan9 » Sat Apr 24, 2021 11:15 am

yES of course,

The entry function for the long/short hedged position would be a price crossover or crossunder of the central pivot point.

The exit function would be the stop loss, limit profit in pips.
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Re: Pivot Hedging Strategie

Postby fortesan9 » Fri Apr 30, 2021 2:12 pm

Apprentice & Co

I´m still trying to figure out a suitable logic for this strategie, attached some options and the required functions/variables for the algorithm.

:mrgreen:
Attachments
Pivot Hedging Strategie.xlsx
(14.8 KiB) Downloaded 179 times
Pivot Hedging Strategie.jpg
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Re: Pivot Hedging Strategie

Postby Apprentice » Sat May 01, 2021 4:22 am

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

Re: Pivot Hedging Strategie

Postby fortesan9 » Tue Jul 13, 2021 2:31 pm

any neWs Don Apprentice :?:
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Re: Pivot Hedging Strategie

Postby fortesan9 » Wed Jul 14, 2021 8:55 am

As for now have the logic below coded, which generates plenty false/error trades, I think the problem is the direct crosses between pivots.

Some POV would be of great assistance for a FIX on this one ;)


function IsEntryLong(source, period)
return core.crossesOver(source.close, PIVOT.R1, NOW)
or core.crossesOver(source.close, PIVOT.R2, NOW)
or core.crossesOver(source.close, PIVOT.R3, NOW)
or core.crossesOver(source.close, PIVOT.R4, NOW)
or core.crossesOver(source.close, PIVOT.P, NOW)
or core.crossesOver(source.close, PIVOT.S1, NOW)
or core.crossesOver(source.close, PIVOT.S2, NOW)
or core.crossesOver(source.close, PIVOT.S3, NOW)
or core.crossesOver(source.close, PIVOT.S4, NOW);
end
function IsEntryShort(source, period)
return core.crossesUnder(source.close, PIVOT.S1, NOW)
or core.crossesUnder(source.close, PIVOT.S2, NOW)
or core.crossesUnder(source.close, PIVOT.S3, NOW)
or core.crossesUnder(source.close, PIVOT.S4, NOW)
or core.crossesUnder(source.close, PIVOT.P, NOW)
or core.crossesUnder(source.close, PIVOT.R1, NOW)
or core.crossesUnder(source.close, PIVOT.R2, NOW)
or core.crossesUnder(source.close, PIVOT.R3, NOW)
or core.crossesUnder(source.close, PIVOT.R4, NOW);
end
function IsExitLong(source, period)
return core.crossesOver(source.close, PIVOT.R1, NOW)
or core.crossesOver(source.close, PIVOT.R2, NOW)
or core.crossesOver(source.close, PIVOT.R3, NOW)
or core.crossesOver(source.close, PIVOT.R4, NOW)
or core.crossesOver(source.close, PIVOT.P, NOW)
or core.crossesOver(source.close, PIVOT.S1, NOW)
or core.crossesOver(source.close, PIVOT.S2, NOW)
or core.crossesOver(source.close, PIVOT.S3, NOW)
or core.crossesOver(source.close, PIVOT.S4, NOW);
end
function IsExitShort(source, period)
return core.crossesUnder(source.close, PIVOT.S1, NOW)
or core.crossesUnder(source.close, PIVOT.S2, NOW)
or core.crossesUnder(source.close, PIVOT.S3, NOW)
or core.crossesUnder(source.close, PIVOT.S4, NOW)
or core.crossesUnder(source.close, PIVOT.P, NOW)
or core.crossesUnder(source.close, PIVOT.R1, NOW)
or core.crossesUnder(source.close, PIVOT.R2, NOW)
or core.crossesUnder(source.close, PIVOT.R3, NOW)
or core.crossesUnder(source.close, PIVOT.R4, NOW);
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Re: Pivot Hedging Strategie

Postby fortesan9 » Sat Jul 17, 2021 10:52 pm

think you are right.. not a great idea :?
fortesan9
 
Posts: 52
Joined: Tue May 05, 2020 10:15 pm

Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Majestic-12 [Bot] and 30 guests