Author Topic: Pip_Hunter rules  (Read 560 times)

Offline xux99

  • Administrator
  • Senior
  • *****
  • Posts: 78
  • Location: Greece
    • View Profile
    • Wallpapers for mobile phones
Pip_Hunter rules
« on: May 15, 2009, 06:04:25 pm »
I shall try to write Pip_Hunter rules as I undertstand them, based on the attached document.  If everything is right we can start coding the EA.

D1-1 strategy.
Long signal:
1. Both 9 and 18 ma are pointing upwards or one is pointing upwards and the other is flat.
2. Within the past 15 bars, ADX was above 16 at least in one closed bar.
3. There is not a bearish divergence according to pip rev rules.
This bar is called a set up bar. Buy at the open of the next bar.

Stop loss is the highest of 175 pips and set up bar low.

Exit half position at ATR(5) pips above order open price. Trail the second half at LL3-LL3*0.001.
The initial LL3 counts 3 previous bars from and including the set up bar. Subsequent LL3's count from the one bar just closed.

Short signal:
1. Both 9 and 18 ma are pointing downwards or one is pointing downwards and the other is flat.
2. Within the past 15 bars, ADX was above 16 at least in one closed bar.
3. There is not a bullish divergence according to pip rev rules.
This bar is called a set up bar. Sell at the open of the next bar.

Stop loss is the lowest of 175 pips and set up bar high.

Exit half position at ATR(5) pips below order open price. Trail the second half at HH3+HH3*0.001.
The initial HH3 counts 3 previous bars from and including the set up bar. Subsequent HH3's count from the one bar just closed.

D1-2 strategy.
Long signal:
1. 40 ma greater than 40 ma of the 5th past bar.
2. LL10 higher than LL35.
3. Within the past 5 bars, 3 ma based on the low is pointing downwards in at least in one closed bar.
4. HH3 lower than HH10.
5. Within the past 15 bars, ADX was above 16 at least in one closed bar.
6. There is not a bearish divergence according to pip rev rules.

Set a pending long order at at HH3+HH3*0.001. If the entry point is not hit on the following bar from set up bar then the pending order is cancelled.

Stop loss at LL3-LL3*0.001.

Exit half position at ATR(5) pips above order open price. Trail the second half at LL3-LL3*0.001.
The initial LL3 counts 3 previous bars from and including the set up bar. Subsequent LL3's count from the one bar just closed.

Short signal:
1. 40 ma lower than 40 ma of the 5th past bar.
2. HH10 lower than HH35.
3. Within the past 5 bars, 3 ma based on the high is pointing upwards in at least in one closed bar.
4. LL3 higher than LL10.
5. Within the past 15 bars, ADX was above 16 at least in one closed bar.
6. There is not a bullish divergence according to pip rev rules.

Set a pending short order at at LL3-LL3*0.001. If the entry point is not hit on the following bar from set up bar then the pending order is cancelled.

Stop loss at HH3-HH3*0.001.

Exit half position at ATR(5) pips below order open price. Trail the second half at HH3+HH3*0.001.
The initial HH3 counts 3 previous bars from and including the set up bar. Subsequent HH3's count from the one bar just closed.

D1-3 strategy.
Long signal:
1. 18 ma is pointing downwards.
2. Point 3 is defined when LL4 is equal to LL20.
Question: Sould it be absolutely equal or a small difference is allowed?
3. Point 3 is lower than point 1. The number of bars between these two lows should be no more than 15 bars and no less than 5 bars.
4. Stochastics %K should be lower than 15 at least once for the two bars following point 1.
5. The lowest of  Stochastics %K within the two bars following point 3 should be higher than the highest of  Stochastics %K within the two bars following point 1.
Question: Are the bars after points taken into account?
6. Stochastics %K of the set up bar points upward and Stochastics %K of the previous bar points downward. If this occurs then low of the set up bar should be higher than point 3 or a long outside bar is formed. If a long outside bar is formed its low is point 3.
Question: The described outside bar rules are correct?
7. Close of the set up bar is higher than 18 ma.
8. Within the past 15 bars, ADX was above 15 at least in one closed bar.
Question: The ADX limit is 15 or 16 as in the other strategies?

Set a pending long order at 18 ma.

Stop loss is 1 pip below point 3.

Exit half position at ATR(5) pips above order open price.
If we are in the 4th or 5th bars from the entry trail the second half at (point 3)-(point 3)*0.001.
If we are after the 5th bars from the entry trail the second half at LL3-LL3*0.001.

Short signal:
1. 18 ma is pointing upwards.
2. Point 3 is defined when HH4 is equal to HH20.
3. Point 3 is higher than point 1. The number of bars between these two lows should be no more than 15 bars and no less than 5 bars.
4. Stochastics %K should be higher than 85 at least once for the two bars following point 1.
5. The highest of  Stochastics %K within the two bars following point 3 should be lower than the highest of  Stochastics %K within the two bars following point 1.
6. Stochastics %K of the set up bar points downward and Stochastics %K of the previous bar points upward. If this occurs then high of the set up bar should be lower than point 3 or a long outside bar is formed. If a long outside bar is formed its high is point 3.
Question: Both long and short signal use a long outside bar?
7. Close of the set up bar is higher than 18 ma.
Question: Close of the set up bar shouldn't be lower than 18 ma for a short signal?
8. Within the past 15 bars, ADX was above 15 at least in one closed bar.

Set a pending short order at 18 ma.

Stop loss is 1 pip above point 3.

Exit half position at ATR(5) pips below order open price.
If we are in the 4th or 5th bars from the entry trail the second half at (point 3)+(point 3)*0.001.
If we are after the 5th bars from the entry trail the second half at HH3+HH3*0.001.

« Last Edit: June 20, 2009, 02:19:34 am by AlexPali »

Offline AlexPali

  • Administrator
  • Full
  • *****
  • Posts: 20
  • Location: California, USA
    • View Profile
Re: Pip_Hunter rules
« Reply #1 on: May 16, 2009, 07:57:40 pm »
Panagiotis;

Thank you for your effort to code Pip_Hunter robot.

I assume you are looking for some clarifications for the D1-3 strategy portion. The PDF manual should contains all the available material. However, I'll try to get the confirmation from my friend.

Regards,
Alex



Offline forex5x

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Pip_Hunter rules
« Reply #2 on: May 22, 2009, 12:36:16 am »
This looks to be a pretty straight forward system to code.  Then it will be a test to see if it is profitable.

Offline AlexPali

  • Administrator
  • Full
  • *****
  • Posts: 20
  • Location: California, USA
    • View Profile
Re: Pip_Hunter rules
« Reply #3 on: May 25, 2009, 06:47:06 am »
Finally, the Answers & Comments to the PipMax (PM) trading strategy  from Nacio arrived.
Thank you for your patience wile waiting for it.
Due to the large length (6 pages) of the script, I’m posting it as an attachment. Please let me know if it would be more convenient having the full 6 pages placed in a text mode in this thread instead so I’ll update it respectively.
I hope this will enable us go forward with the automating tasks.
With best regards,
 

Offline xux99

  • Administrator
  • Senior
  • *****
  • Posts: 78
  • Location: Greece
    • View Profile
    • Wallpapers for mobile phones
Re: Pip_Hunter rules
« Reply #4 on: May 25, 2009, 10:16:13 pm »
Thank you Alex. I shall study the answers and start coding the EA.

Offline AlexPali

  • Administrator
  • Full
  • *****
  • Posts: 20
  • Location: California, USA
    • View Profile
Re: Pip_Hunter rules
« Reply #5 on: May 30, 2009, 04:06:20 am »
Screenshots of multiple D1-1 (PM1), D1-2 (PM2) and D1-3 (PR) set-up conditions.
Note: D1-3 condition is very rare however once it occurs it delivers a good chance of very large price movement in the desired direction.
« Last Edit: May 30, 2009, 04:15:04 am by AlexPali »

Offline AlexPali

  • Administrator
  • Full
  • *****
  • Posts: 20
  • Location: California, USA
    • View Profile
Re: Pip_Hunter rules
« Reply #6 on: June 04, 2009, 07:35:31 pm »
Attached please find updated version of the Manual FX Daily based Trading Strategy.
The newly edited manual: FX-D1-system_Updated-2009-06-04.pdf file is located at the first posting of this thread.
In the updated file page No.6 has been added containing D1-1 Aggressive sub-strategy and a mistake was corrected at page No 9 to be as the following:
E.- THE LOWEST %K WITHIN 2 BARS OF POINT 3 > LOWEST %K WITHIN 2 BARS OF POINT 1.

(“……….. Actually PM1 aggressive is independent from regular PM1
PM1 aggressive sets-up when you have had a profitable PM1 or PM2 that just closed, and no subsequent PM2 setup has appears. …………….”
)


Offline AlexPali

  • Administrator
  • Full
  • *****
  • Posts: 20
  • Location: California, USA
    • View Profile
Re: PipHunter rules
« Reply #7 on: June 20, 2009, 02:18:05 am »
Attached please find updated version of the Manual FX v.3.1 Daily based Trading Strategy.
The newly edited manual: FX-D1-system_v.3.1_updated-2009-6-19.PDF file is located at the first posting of this thread.
In the updated file two pages No.11 & 12 has been added containing IP (Instant Pips) strategy.
This should be the complete version of the Manual.  
« Last Edit: June 20, 2009, 02:22:37 am by AlexPali »