Login Page - Create Account

Support Board


Date/Time: Thu, 03 Jul 2025 11:34:32 +0000



Post From: Study Overlay not accurate

[2020-10-22 22:32:18]
User202740 - Posts: 12
I'd tried with Fill Blanks with Last Value set to Yes but then the overlapped line likes a trapezoid and it doesn't touch it. Maybe I'm misunderstanding some concepts regarding the overlay study...

I would like to get something more accurate when plotting the 60 minutes MA into 5 minutes chart. One person uses the following code:

Inputs: length(20);
If CurrentBar = 240 then Value1 = xaverage(C, 240);
If CurrentBar > 240 then begin
If Fracportion((time – 30)/100) = 0 or time =1315 then begin
value1 = value1[1] + (2 / ( Length + 1 )) * ( C – value1[1] );
Value2 = value1;
Plot1(value1, "60 min 20EMA");
end
else begin
Value2 = value1 + (2 / ( Length + 1 )) * ( C – value1[1] );
Plot1(value2, "60 min 20EMA");
end;end;

But I'm not sure if SierraChart's overlay study overlays like that way.
Date Time Of Last Edit: 2020-10-22 23:43:19