View Single Post
  #8 (permalink)  
Old 10-06-2005, 12:59 PM
noegrahaz noegrahaz is offline
Junior Member
 
Join Date: Sep 2005
Location: Indonesia
Posts: 8
noegrahaz is on a distinguished road
Quote:
Originally Posted by mbkennel
When you say you change the timeframe, does this mean that in the Mindagaus code you change the PeriodTrade to PERIOD_H4 from the original PERIOD_D1??

And then what do you do for the PeriodDirection? Do you keep it PERIOD_W1?

The Mindigaus' version of TSD does not care which time frame the chart that you attach it is on.
If you want your trades to be processed on a daily chart, leave the following line as is:
int PeriodDirection = PERIOD_W1, PeriodTrade = PERIOD_D1, PeriodTrailing = PERIOD_H4, CandlesTrailing = 3;

If you want your trades to be processed on a 4HR chart, change the line to this:
int PeriodDirection = PERIOD_D1, PeriodTrade = PERIOD_H4, PeriodTrailing = PERIOD_H1, CandlesTrailing = 3;

If you want your trades to be processed on a 1HR chart, change the line to this:
int PeriodDirection = PERIOD_H4, PeriodTrade = PERIOD_H1, PeriodTrailing = PERIOD_M15, CandlesTrailing = 3;
Reply With Quote