PureBytes Links
Trading Reference Links
|
This is the code for
'displaced'***************************************************
Input : Price(Close), Length(6), Displace(4);
Vars : AvgValue(0), LongTermTrend(0),
ShortTermTrend(0), nocommentary(TRUE), AbsDisplace(0),
String1("");
if Displace >= 0 and currentbar > Displace
then begin
AvgValue = Average(Price,Length)[Displace];
plot1(AvgValue,"AvgDisplace");
End;
***************************************************************************************
I am trying to understand the word 'displaced'
What I am trying to do in a intra-day chart 15 minutes
chart is plot the ....
moving average of monday on Friday
" tuesday on Friday
" wednes. on Friday
" Thurday on Friday
This is just a test to see how prices are moving
relative to day-of-week.
******************************************************************
to do this ' should I just change the dispace value
from 1 to 4
Frank
San Diego
|