FXCM Forex Trading

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 17 times


in Bar a.k.a. "Pinocchio Bar" indicator is available here.
viewtopic.php?f=17&t=1459&hilit=pin+bar
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16525
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
 
Posts: 25
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
 
Posts: 25
Joined: Sat Jul 22, 2017 7:27 am

Re: Pinocchio Bar Strategy

Postby Apprentice » Sun Aug 06, 2017 3:34 am

Try it now.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16525
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

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
 
Posts: 25
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: 16525
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
 
Posts: 25
Joined: Sat Jul 22, 2017 7:27 am

Re: Pinocchio Bar Strategy

Postby Apprentice » Tue Aug 08, 2017 4:22 am

Try it now.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16525
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Pinocchio Bar Strategy

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

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


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 4 guests