PIT BULL TRADER Indicators

Locked
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: PIT BULL TRADER Indicators

Post by lucklogic »

gaheitman wrote:
lucklogic wrote:Hi, and thank you for sharing this great indicator :D

Sorry to bother you but I wonder if you could modify your indicator to show the value of the net profit or loss over the lookback time period selected.

I'm interested in T101 Basket trading and it seems to be that this could be a v.useful main trend indicator for the fourteen pairs that are traded.

EG if the time frame was set to 15M then the indicator would report the net Profit or Loss at each bar close for the net basket position within the selected lookback period and draw the result as a graph in an indicator window

Many thanks in anticipation of your help and assistance :ugeek:
Have you looked at the BasketEquity Indicator posted here? http://www.stevehopwoodforex.com/phpBB3 ... 855#p27855

George
Wow that's great, thank you v.much. I did have a bit of trouble making it go until I found this advice from yourself;

You should have this:
int RegisterWindowMessageA(string lpString);
within the #import "user32.dll" tags.
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: PIT BULL TRADER Indicators

Post by lucklogic »

George pls have a look at my attached chart

I have compared the net profit by the two indicators but the end result is not similar

Basket Equity reports a loss of - $22 but the SHF PitBull indicator v2.1 reports -$47

Why are they not the same ? :roll:

Is Basket Equity value correct ?

Many thanks for your help and assistance :ugeek:
You do not have the required permissions to view the files attached to this post.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: PIT BULL TRADER Indicators

Post by gaheitman »

lucklogic wrote:George pls have a look at my attached chart

I have compared the net profit by the two indicators but the end result is not similar

Basket Equity reports a loss of - $22 but the SHF PitBull indicator v2.1 reports -$47

Why are they not the same ? :roll:

Is Basket Equity value correct ?

Many thanks for your help and assistance :ugeek:
The BasketEquity indicator uses the close of the reference bar as the open price of the trade and the pitbull indicator uses the open of the reference bar. Do you have the periodGranularity in BasketEquity set to 1? Normally it is 1, which would match the data that Pitbull is looking at (M1 data). If you change it to something else, it will further exaggerate the difference between open/close prices.

George
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: PIT BULL TRADER Indicators

Post by lucklogic »

Please see the attached chart for the last 24 hrs with a M5 timeframe plotted for 500 bars
The Basket Equity reports - $9 against -$29 from the Pitbull indicator

Confirm same lot size (0.01)
Confirm same data set

Buy="USDCHF,EURGBP,NZDUSD,GBPUSD,EURJPY,AUDJPY,GBPJPY";
Sell="AUDUSD,EURUSD,NZDJPY,GBPCHF,CHFJPY,EURCHF,USDJPY ";

:ugeek:
You do not have the required permissions to view the files attached to this post.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: PIT BULL TRADER Indicators

Post by gaheitman »

Curious. I did the same thing and Pitbull came up with -9.74 and BE got -9.47. I did notice in your cut and paste of the pairs that you had an extra space at the end of the sell list. I don't know if the parser code will choke on the space, but worth looking at.

George
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: PIT BULL TRADER Indicators

Post by lucklogic »

gaheitman wrote:Curious. I did the same thing and Pitbull came up with -9.74 and BE got -9.47. I did notice in your cut and paste of the pairs that you had an extra space at the end of the sell list. I don't know if the parser code will choke on the space, but worth looking at.

George

Thank you for your assistance, and you are quite right the missed space at the end of the data set was important!

Now that I'm testing during market open hours both indicators are in accord. Brilliant :D
Thanks again :ugeek:
Locked

Return to “Indicators”