[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*****SPAM***** [amibroker] How do I export indicator in amibroker



PureBytes Links

Trading Reference Links

SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM: 
SPAM: Content analysis details:   (5.00 hits, 5 required)
SPAM: USER_AGENT         (-0.5 points) Found a User-Agent header
SPAM: DEAR_SOMETHING     (1.8 points)  BODY: Contains 'Dear (something)'
SPAM: TO_BE_REMOVED_REPLY (0.4 points)  BODY: Says: "to be removed, reply via email" or similar
SPAM: SPAM_PHRASE_05_08  (1.6 points)  BODY: Spam phrases score is 05 to 08 (medium)
SPAM:                    [score: 5]
SPAM: FORGED_YAHOO_RCVD  (1.4 points)  'From' yahoo.com does not match 'Received' headers
SPAM: DATE_IN_PAST_03_06 (0.3 points)  Date: is 3 to 6 hours before Received: date
SPAM: 
SPAM: -------------------- End of SpamAssassin results ---------------------

Dear sirs.
I want to export indicators in amibroker and i write with 
this program But output is Last indicators?
please help me:
how do i export for each day ?
------------------
/* Export indicators by: <jmerriland@xxxxxxxxx> */
fileout = fopen( "f:\\"+Name()+".txt", "w"); 
   
if( fileout ) 
{ 
   fputs( "Ticker |   Date   |macd \n", fileout ); 
   y = Year(); 
   m = Month(); 
   d = Day(); 
 
   for( i = 0; i < BarCount; i++ ) 
   { 
     fputs( Name() + "|" , fileout );
          dateouts = StrFormat("%01.0f/%02.0f/%02.0f|",y[ i ], m[ i ], d[ i ] ); 
       
        indicator0uts = StrFormat("%.1f|%.1f\n",MACD(),Signal()); 
        fputs( dateouts , fileout );    
 fputs( indicator0uts,fileout ); 
       } 

   fclose( fileout ); 
} 

Buy = 0;



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/