stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

PIT BULL TRADER Indicators
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=321
Page 2 of 12
Author:  Bunker [ Sat Feb 04, 2012 1:29 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

As SH would say “You’re a star” !!

Thank you.

I will definitely continuously compare both indis and report my findings back here.
I never though trading would be that fun !!

Bunker
Author:  gaheitman [ Sat Feb 04, 2012 8:45 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

I've made a few additional changes to the test version. They are:
  1. Added NormalizeLotSize parameter -- Setting this to true will simulate the lot size for each pair such that a pip in one pair is worth the same as a pip in another pair.
  2. Rewrote parts of the code to limit the number of calls to MarketInfo()
  3. Shortened the text object names
The biggest change is obviously #1. I'm not sure if this is useful for the method, but I was troubled that the simulated lotsize was the same for each currency even though the value of each lot was different. I suppose if I had started with just pips, this wouldn't have been an issue. Now you can toggle the option on and off. Here's a comparison of the two for last week. The one on the left is the old display (NormalizeLotSize=false) and the one on the right has it turned on.
pic_07 2012-02-04 15.17.gif
You will also notice that if you set lots to 0.1 (or whatever is equivalent to 1 dollar per pip on your platform) the value displayed will be both pips and P/L. The default has the feature turned off, so if you want to try it out be sure to set it to true.

For #2 above, I am capturing the values for MODE_TICKVALUE and for MODE_SPREAD. I update the spread periodically, but there seemed no reason to make 14 calls to MarketInfo() every tick just to get a spread that doesn't change that much.

Let me know if you have any problems.

George
Author:  Bunker [ Sun Feb 05, 2012 1:13 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

This is great George !
Can't wait to test.

So this week, I'll be comparing the Normalized and Non-normalized versions with the Orest indi (EA).
I'll pay specific attention to when the 3 versions are not in agreement in terms of the displayed trend direction (short-strong, long strong...) and try to find out which one is the most accurate so we can use only a single version.

Below is my setup patiently waiting for the first tick (the Orest will only display the pairs once the market gets going).

Thanks once again for this cool toy. Will be back with some results.

Bunker
Author:  gaheitman [ Sun Feb 05, 2012 2:30 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

I use the attached script to send a fake tick to a chart. Just drag and drop it on the chart in question and it should kick off the ea. I used it for my testing of the ea after market close.

George
Author:  brijon [ Sun Feb 05, 2012 7:55 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

thank you george i agree pips arnt as accurate , my past findiong is $ is better aas pips are misleading

but ill test it thank you
Author:  Bunker [ Sun Feb 05, 2012 8:25 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

Hi George,

Thanks for the script,

I think there is a little problem with it.

Any idea why I get the following error message when I re-compile it ?

"RegisterMessageA" - function is not defined

Bunker
Author:  gaheitman [ Sun Feb 05, 2012 9:02 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

Bunker wrote:Hi George,

Thanks for the script,

I think there is a little problem with it.

Any idea why I get the following error message when I re-compile it ?

"RegisterMessageA" - function is not defined

Bunker
At some point there was an updated WinUser32.mqh. Try saving the attached to your experts/include folder.

George
Author:  Bunker [ Sun Feb 05, 2012 9:24 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

BINGO!

Thank you !
Author:  brijon [ Sun Feb 05, 2012 9:51 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

i prefer indicaters too not based on pips for this but later ill check them out
thank you george here is my latest indicaters and template using georges indicater in 3 time frames i think its good
Author:  brijon [ Sun Feb 05, 2012 9:58 pm ]
Post subject:  Re: PIT BULL TRADER Indicators

great work guys you are a star george
All times are UTC Page 2 of 12