Pinocchio Bar Strategy

Strategies are published here.

Moderator: admin

Pinocchio Bar Strategy

Postby Apprentice » Sat Aug 05, 2017 8:26 am

1.png

2.png

Based on the request.
viewtopic.php?f=27&t=64962

If there is a Pin Up pattern
and the close of last bar is above Alligator teeth
then give a signal to SELL?
or
If there is a Pin Down pattern
and the close of last bar is bellow Alligator teeth
then give a signal to BUY?

Pinocchio Bar Strategy.lua
(27.28 KiB) Downloaded 680 times


in Bar a.k.a. "Pinocchio Bar" indicator is available here.
viewtopic.php?f=17&t=1459&hilit=pin+bar

The Strategy was revised and updated on January 21, 2019.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pinocchio Bar Strategy

Postby conjure » Sat Aug 05, 2017 11:07 am

It doesn't do what i need to do.
As you see in the picture
1.JPG


there is a Pin Up pattern
BUT the close of last bar is above Alligator teeth.
It shouldn't do anything.

In the second Picture
2.JPG

there is a Pin Up pattern
and the close of last bar is bellow Alligator teeth.

It should give a signal for Buy

Is it possible to be done?
Thank you for your help
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am

Re: Pinocchio Bar Strategy

Postby conjure » Sat Aug 05, 2017 11:23 am

on my request i did a mistake..
Here is my request fixed


If there is a Pin Up pattern
and the close of last bar is BELLOW Alligator teeth
then give a signal to BUY?
or
If there is a Pin Down pattern
and the close of last bar is ABOVE Alligator teeth
then give a signal to SELL?
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am


Re: Pinocchio Bar Strategy

Postby conjure » Sun Aug 06, 2017 4:12 am

Apprentice Thank you for your time you spend..
I did try it but i still have some problems..

In the first picture
the close of last bar is above Alligator teeth.
It shouldn't do anything.
1.JPG


In the second picture i load Patterns3.lua by Alexander.Gettinger
to compare the pin ups and downs and i found that there are differences.
Is it possible to use Alexanders indicator for pin ups and downs?
2.JPG


I m sorry if i ask too much.
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am

Re: Pinocchio Bar Strategy

Postby Apprentice » Tue Aug 08, 2017 3:03 am

No problem.
PB.lua was used.
Can u use this Notation, reference to PB.lua
Up Arrow and close {< or >} teeth ... {Buy or Sell}
Down Arrow and close {< or >} teeth ... {Buy or Sell}
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pinocchio Bar Strategy

Postby conjure » Tue Aug 08, 2017 4:08 am

Up Arrow and close bellow teeth ... Buy
Down Arrow and close above teeth ...Sell
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am


Re: Pinocchio Bar Strategy

Postby conjure » Wed Aug 09, 2017 6:25 am

Yeap. Thank you!
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am

Re: Pinocchio Bar Strategy

Postby Reymondpolanco » Sun Sep 24, 2017 11:52 pm

can you put an option to chose an specific form to close the trade for example:

For the long trades:
when the price is under the minimun of the pinbar close the trade.
When the trade have X pips in profit close the trade.

For short trades:
when the price is upper the maximun of the pinbar close the trade.
When the trade have X pips in profit close the trade.
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 14 guests