Shelley's multi-pair basket trader

Share your 10.x automated traders here.
Post Reply
garyfritz

Re: Shelley's multi-pair basket trader

Post by garyfritz »

No it's not. All of your WOH indicators are "Buy." Only USDCAD and USDCHF should be "Buy."

But the EA says it's Shelley. Was this really Shelley code, or Simple Shelley? Shelley does not show this weird behavior (that I've seen); only Simple Shelley does.
Bunker

Re: Shelley's multi-pair basket trader

Post by Bunker »

I only verified with U/CHF and U/CAD because I got opposite results from Steve's. But you are right, They are all Buys !!

This is Shelley V1a (not simple Shelley), downloaded a few minutes ago
Bunker

Re: Shelley's multi-pair basket trader

Post by Bunker »

garyfritz,

I applied NB template and the Woh is green all these pairs. So the EA looks like it's reading the information correctly. Maybe I am missing something....
You do not have the required permissions to view the files attached to this post.
garyfritz

Re: Shelley's multi-pair basket trader

Post by garyfritz »

Bunker wrote:This is Shelley V1a (not simple Shelley), downloaded a few minutes ago
Look again. :D The current Shelley is V1u. Simple Shelley is 1a.

Bunker, I'm not sure what you're seeing. I know I've watched the code calculate the Buy/Sell values, and the WOH values it's using say everything should be Sell except U/C and U/F.
garyfritz

Re: Shelley's multi-pair basket trader

Post by garyfritz »

garyfritz wrote:And 1a still has the mystery bug that forces all WOH flags to "all Buy" or "all Sell." :(
Aha!!!

Steve, when you backed out the original Shelley code, you made a slight oopsie:

You changed

Code: Select all

string         TradePair[][4];
to

Code: Select all

string         TradePair[][2];
...because you just reference 0, 1, and 2, right? But that means it needs to be [3], not [2] .......

It resulted in some really bizarre behavior. Whenever you changed one of the [2] values, they ALL changed at once.

I went ahead and uploaded a fixed V1b to post 1.

*whew*. That was really bugging me. :D
maudur
Trader
Posts: 24
Joined: Fri May 18, 2012 6:39 pm
Location: Bogotá, Colombia

Re: Shelley's multi-pair basket trader

Post by maudur »

garyfritz wrote:
garyfritz wrote:And 1a still has the mystery bug that forces all WOH flags to "all Buy" or "all Sell." :(
Aha!!!

Steve, when you backed out the original Shelley code, you made a slight oopsie:

You changed

Code: Select all

string         TradePair[][4];
to

Code: Select all

string         TradePair[][2];
...because you just reference 0, 1, and 2, right? But that means it needs to be [3], not [2] .......

It resulted in some really bizarre behavior. Whenever you changed one of the [2] values, they ALL changed at once.

I went ahead and uploaded a fixed V1b to post 1.

*whew*. That was really bugging me. :D
Here V1u is ok. I download again this version 2 hours ago.
You do not have the required permissions to view the files attached to this post.
With Regards,

Maudur.
garyfritz

Re: Shelley's multi-pair basket trader

Post by garyfritz »

Yes, V1u is Shelley. That was always OK. It was Simple Shelley that had the problem.
maudur
Trader
Posts: 24
Joined: Fri May 18, 2012 6:39 pm
Location: Bogotá, Colombia

possible bug

Post by maudur »

Hi Steve,

I try Shelley V1u with Slopeconfirmation in TimeFrame 60 but did not work. For example in USDCHF is buy shelley but in 1 hour Slope is to sell (-0.83).

I Think the bug is in LookForTradingOpportunities. Actual code is:


//Slope must be buy and hold
if (TradePair[cc][1] == buyhold)
{
//Woh 2x1 must be >0
if (TradePair[cc][2] == buy)
{
//Trading styles
if (OriginalShelley)
{....

idem to sell.

I Think should be:

//Slope must be buy and hold
if (TradePair[cc][1] == buyhold)
{
//Woh 2x1 must be >0
if (TradePair[cc][2] == buy)
{
//SlopeConfirmation
if (TradePair[cc][3] == buyhold)

{
//Trading styles
if (OriginalShelley)
{....
With Regards,

Maudur.
User avatar
Jemook
Trader
Posts: 1085
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Re: Shelley's multi-pair basket trader

Post by Jemook »

Just a prediction to classic Shelley traders who open with London - I have a feeling you are going to do well on this session due to the basket pairs being overextended to opposite H1 TMA.
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
Caillou
Trader
Posts: 48
Joined: Sat Dec 03, 2011 9:11 pm

Re: Shelley's multi-pair basket trader

Post by Caillou »

Jemook wrote:Just a prediction to classic Shelley traders who open with London - I have a feeling you are going to do well on this session due to the basket pairs being overextended to opposite H1 TMA.

In Jemook we trust........ :D
Post Reply

Return to “10.x EA forum”