Thread: ASCTrend system
View Single Post
  #105 (permalink)  
Old 05-08-2006, 02:18 PM
ontherun ontherun is offline
Junior Member
 
Join Date: Dec 2005
Posts: 13
ontherun is on a distinguished road
Wink differences between your evaluation and actual LabtrendX indicators?

Quote:
Originally Posted by igorad
Hi,
I want to represent light version of ASCTrend.
I named it LabTrend.

Igor
Hi Igor,

is it me who sees some light differences between (ASCTrend) indicator descriptions in your posted evaluation and the actual implementation of the LabTrendX formulae?

i.e:
in the evaluation about ASCTrend1 Initial Stop you consider the SMA of a 10-period price range (as below)
for long position:
- (Initial)BuyStop1 = Low - 0,5 * SMA(Range, 10)
for short position:
- (Initial)SellStop1 = High + 0,5 * SMA(Range, 10)

while in the actual formula it seems as you've coded it using a ATR(10) ...(actual Mov(ATR(1), 10, S) in MSK lang)

...UpTrendSignal[shift]=Low[shift]-0.5*iATR(NULL,TimeFrame,10,shift);
...

moreover... I'm wondering what the term "Point" means in MT4 language exactly?
Checking the LabTrend2 code I read:

double delta=MathAbs(Bid-Ask)/Point;
//double delta=3;


I ask this because I'm trying to code this mammuth in MetaStock language and know not too much about MT4 language...

Thanks and keep up the good work.
Marco

ps: why you haven't considered the W%R variable-period for the ASCTrend 1 paintbar code as mentioned by a poster (MBKennel) on a forum (http://www.createphpbb.com/phpbb/vie...forum=fxreview)

" ASCtrend also has another feature---it looks back in the period in question.
If there are any of two events: either a gap bigger than twice the average per-bar hi-low range, or a 3-bar trend bigger than 4.6 (again, hardcoded) times the average high-lo range, then the distance back in time that the final signal is evaluated (e.g. WilliamsPower length) is decreased to 3 or 4 bars instead of the usual 9 (hard coded). The idea is that if there is a gap or a sharp trend then you should be ready to turn around more quickly than otherwise. "

ps2: if someone using MetaStock skilled enough to collaborate in coding this system (I'm thinking to make an Expert Advisor and a System Tester later if possible) would like to... can contact me.

Last edited by ontherun : 05-08-2006 at 02:24 PM.
Reply With Quote