Moline, IL
Posts: 1 since Apr 2015
Thanks Given: 0
Thanks Received: 0
|
I wrote the following show me indicator for daily charts but I want to be able to use it on bars that aren't complete. I want to run a scan 15 to 30 minutes before the market closes. Does anyone know how to do this?
Thanks
if (Close <= Low + ((High - Low)*.6)) and (Close >= Low + ((High - Low)*.4)) and (Open <= Low + ((High - Low)*.6)) and (Open >= Low + ((High - Low)*.4)) then
begin
Plot1(High[0], "Hamm_Sta",White) ;
Alert ;
end
Else if (Close <= Low + ((High - Low) / 2)) and (Open <= Low + ((High - Low) / 2)) then
begin
Plot1(High[0], "Hamm_Sta",Blue) ;
Alert ;
end
Else if (Close >= Low+((High - Low) / 2)) and (Open >= Low+((High - Low) / 2)) then
begin
Plot2(Low[0], "Hamm_Sta",Yellow) ;
Alert ;
end ;
|