General Trading Chat

cloudTrader

Well-Known Member
Afl shared please

Sent from my SM-G600FY using Tapatalk
Here it goes ...

Code:
_section_begin("NTexport");

fmkdir( "C:\\SaveData" );
Buy = Status( "barinrange" );
for( i = 0; i < BarCount; i++ )
if( Buy[i] )
{
  fh = fopen( "C:\\SaveData\\"+Name()+".txt", "a");
  if( fh )
   {
     y = Year();
     m = Month();
     d = Day();
     r = Hour();
     e = Minute();
     n = Second ();
   for( i = 0; i < BarCount; i++ )
   if( Buy[i] )

   {
   
      ds = StrFormat("%02.0f%02.0f%02.0f %02.0f%02.0f%02.0f;",
                   y[ i ],m[ i ],d[ i ],r[ i ],e[ i ],n[ i ] );
      fputs( ds, fh );
         
      qs = StrFormat("%g,%g,%g,%g,%1.0f\n",
                     O[ i ],H[ i ],L[ i ],C[ i ],V[ i ] );
      fputs( qs, fh );
   }
   fclose( fh );
   }
}

_section_end();
 
Why this test involve all stocks going up 9% -10%
Stress test, I suppose.

Scrips have been crashing 25-30% or even more. Even index stocks lately. So I think it is prudent of the exchange to have extreme values and test for extreme volumes too (I suppose).

I also hope they do some sort of testing to try and remove "NSE short delivery" as happens sometimes in heavily traded counters.
 

Similar threads