Hi Group,

I want to set my stop to low 1 bar before buy-signal.
For example: If I use EOD and i get today a buy-signal, the stop shoud be set to the low from yesterday.

for(i = 1; i < barcount; i++)
{
   if ( Buy[i] )
   {
      stop = Low[ i-1 ];
   }
}

....

My problem is, every bar, my stop changes, but it should be stay at the same value.

Thanks for help
faked



Reply via email to