signal bug for 1 tick chart

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

signal bug for 1 tick chart

Postby 2haerim » 16 Oct 2008

I changed the indicator from my previous post to signal and it didn't work for tick chart either. Dont understand why MC behaved differently.

Please explain this too.

Also please see
http://forum.tssupport.com/viewtopic.php?t=5616
http://forum.tssupport.com/viewtopic.php?t=5662

They seem to be closely related.


Code: Select all

Input:
     F_Total_Ask (c of data2),
     F_Total_Bid (c of data3);
   
   value1=F_Total_Ask;
   value2=F_Total_Bid;
   value3=F_Total_Ask-F_Total_Ask[1];
   value4=value1-value1[1];
        
   if   F_Total_Ask-F_Total_Ask[1]>50 then begin
        buy("H_test2") next bar at c stop;   // signal generated ok for tick chart
   end;
   
   if   value3>50 then begin
        buy("H_test3") next bar at c stop;   // signal generated ok for tick chart
   end;
    
   if   value4>50 then begin
        buy("H_test4") next bar at c stop;   // signal NEVER generated ok for tick chart   end;

Return to “MultiCharts”