MikeGC

Bullish and Bearish Forex Screeners (based on 3 indicators)

Category: Screeners By: MikeGC Created: March 15, 2016, 10:22 AM
March 15, 2016, 10:22 AM
Screeners
11 Comments
Bullish and Bearish Forex Screeners (based on 3 indicators)

These is a very effective screeners that will form the basis of an automatic system.  I have been using them for about 5 years with great success.

 

Forex Bearish Screener:

///Forex Bearish Screener - run on 4 hour FX Mini Charts
TIMEFRAME(4 hours)
indicator1 = CALL "MGC-Coppock"[14, 11, 10](close)
c1 = (indicator1 < indicator1[1])
TIMEFRAME(4 hours)
indicator3 = MACDline[12,26,9](close)
c2 = (indicator3 < indicator3[1])
TIMEFRAME(4 hours)
indicator5 = Stochastic[14,3](close)
c3 = (indicator5 < 80)
c4 = (indicator5 > 60)
c5 = (indicator5 < indicator5[1])

SCREENER[c1 AND c2 AND c3 AND c4 AND c5] (Variation AS "%Chg prev bar")

Forex Bullish Screener:

//Forex Bullish Screener - use with 4 hour Mini FX Charts
indicator1 = CALL "MGC-Coppock"[14, 11, 10](close)
c1 = (indicator1 > indicator1[1])

indicator3 = MACDline[12,26,9](close)
c2 = (indicator3 > indicator3[1])

indicator5 = Stochastic[14,3](close)
c3 = (indicator5 > 20)
c4 = (indicator5 < 40)
c5 = (indicator5 > indicator5[1])

SCREENER[c1 AND c2 AND c3 AND c4 AND c5] (Variation AS "%Chg prev bar")

 

To set it up you will need a new indicator I call “MGC-Coppock” as PRT does not offer the Coppock as such.  The code is:

 

RETURN WEIGHTEDAVERAGE[MA](ROC[roc1] +ROC[roc2]) AS "Coppock Indicator"

 

I have uploaded both screeners in .itf format that can be imported straight into your PRT.

Please note that these screeners can also be used for stocks and indices.

Remember to limit the size of the scan by having them only scanning your list of preferred instruments e.g. top 200 stocks, or high volatility Forex pairs.

Download
Filename: FX-Bearish-Screener.itf
Downloads: 586
Download
Filename: FX-Bullish-Screener.itf
Downloads: 578
MikeGC
MikeGC Average
I am new to programming PRT but have been trading with PRT for about 6 years. It is a wonderful charting package but little assistance is provided with the coding of automatic traders....until now! Congratulations to Nicolas and the team who put this site together and to the great contributors. My wish is to complete the coding of my system, with some help, and to post it on this site for all to test and critique. It has been a great manual system for me and is quite profitable, but translating it into PRT is now the challenge.
Author’s Profile

Comments

Toto le Heros
9 years ago
#

Hi Mike, Hope you will get this message as this interresting stuff was posted some time ago... Coopock curve is generally described as a 10-weighted average of 14ROC + 11 ROC... Looks like you are using 14-weighted average of 11ROC + 10 ROC... My mistake ? Or done intentionnaly by yourself ? Moreover you are saying : "Nicolas has written some really elegant code for me that works well..." but I cannot find that piece of code on ProRealCode ? Maybe Nicolas can help on this as well. Many thanks again for this very interresting idea. BR,

sourberry
9 years ago
#

RETURN WEIGHTEDAVERAGE[MA](ROC[roc1] +ROC[roc2]) AS "Coppock Indicator" This code alone as indicator does not work. The PRT indicator Coppock Curve as different parameters and does not work with CALL "MGC-Coppock"[14, 11, 10](close) Cannot use both your screener.

MikeGC
10 years ago
#

Hello Tradingsales,

The reason for your error messages is probable because the screeners call for the indicator MGC-Coppock.  I created this at the time when PRT didn't offer a Coppock.  Thus you now have two options:

  1.  set up the MGC-Coppock indicator as described above:   To set it up you will need a new indicator I call "MGC-Coppock" as PRT does not offer the Coppock as such.  The code is:  RETURN WEIGHTEDAVERAGE[MA](ROC[roc1] +ROC[roc2]) AS "Coppock Indicator" or
  2. download the PRT indicator Coppock Curve and change the screeners' codes accordingly.

Let me know how you get on.

Cheers,  Mike

Tradingsales
10 years ago
#

Hi Mike ,

im having problems getting the indicator coding i keep getting :

 Syntax error:
The following variable is undefined: ma
The following variable is undefined: roc1
The following variable is undefined: roc

apologies if i'm being naive but any advice would be greatly appreciated.

MikeGC
11 years ago
#

Hello Doctrading,

Nicolas has written some really elegant code for me that works well, but I find that there are other factors that need to be taken into account when setting a trade based on the screeners.  You may have noticed that not every screened pair is necessarily a good trade.   The two main problems are:

  1.  The direction of the trend.  I am trialing Zig Zag as a source of this information, and find it reasonably reliable.
  2.  Coding the trailing stop loss cum exit.   
    1. Zig Zag may be able to provide a good swing high/low.  However I have noticed that it can sometimes change when the trend shifts from a short term reversal back to the longer-term trend.
    2. I think that a multiple of the ATR might be the answer.
    3. Or a choice of the tighter of the two.
    4. With the exit, I have been using the Super Trend as a stop loss.  After the ST flips over, it is wonderful for a long trending trade.  I have experienced some great trades with this.  The longest was for 195 days on an AUDUSD short in September 2014.  It made 1388 pips.

Thanks for your interest in this.  I have been using the system and some variants for years with good success.  However, I would appreciate your suggestions, comments and insights.  I am planning to build the above factors into the code and if they test successfully, then I will post it with Nicolas' permission.

Good trading,

Mike

Doctrading
11 years ago
#

Hello Sir,

Nice system, thanks for sharing.

Maybe we could try to automate this strategy. For example, if all the conditions are met, we could set an automatic order of buying / selling, with stop loss and take profit (I personally like using ATR for this ; we can also code the "last swing high / low", but it's a bit difficult).

Greetings,

MikeGC
11 years ago
#

Thanks, Sofitech.  Nicolas is working on it now.  It is a bit tricky, there being so much visual input.  Am considering a trend indicator on the D1 such as Zig-Zag.  In fact the NZDJPY  D1 is now 14 days into a new uptrend with the H4 showing  bullish - it may be worth a look. 

Sofitech
11 years ago
#

Thanks for your answer. I will have a look on your screener results soon. But i like the logic of it.  
As you say in another post, the stop or trailing stop is the key... 

Hope for you this forum and Nicolas will help you to improve your system and maybe to find a way to make it autotrade.

Regards.

MikeGC
11 years ago
#

Hello Sofitech, I use these screeners to minimise the time looking for trades in FX.  Before I take a trade on the H4 chart, I check the D1 and the H1 and see whether the trend is in favour.  They can give signals that could become reversals, but that is a risky trade without looking at the price action.  Also it is probably better to wait for the candle to close on the H4.  The benefits are that the confluence of 3 indicators should provide a lesser risk as you would know, trading the Ichimoku.

Hope this helps.

Best regards,

Mike

Sofitech
11 years ago
#

Hello Mike. You're screener are very interesting. I can see they are made to work on H4 timeframe. To take position, do you zoom into smaller timeframe and search for entries going the same way your screener indicate in H4 ? Based on the same indicators ?

Nicolas
11 years ago
#

Hello Mike and thanks a lot for your precious contribution!

ProRealCode ProRealCode
Loading...