AmiBroker - AmiBroker Tips in Software for Analysis - The easiest way to export quotes to CSV file is to use the below formula from Automatic Analysis window: (Analysis ...
+ Reply to Thread

AmiBroker Tips

  1. AmiBroker Tips

    The easiest way to export quotes to CSV file is to use the below formula from Automatic Analysis window:
    (Analysis -> Automatic Analysis)

    Filter=1;
    AddColumn(O,"Open");
    AddColumn(H,"High");
    AddColumn(L,"Low");
    AddColumn(C,"Close");
    AddColumn(V,"Volume",1.0);

    1. Open: Analysis->Formula Editor
    2. Paste the above formula into formula window
    3. Choose Tools->Send to Auto-Analysis menu in the Formula Editor
    4. In Automatic Analysis window select Apply to: All Stocks, Range: All quotations (or any other time range or filter, depending on what you need to export)
    5. Press Explore button
    6. Press Export button, specify the name and press OK


  2. Alert at Crossover

    Below are details of an afl file which gives alerts for macd crossovers

    a=EMA(C,30)-EMA(C,200);
    b=EMA(a,20);

    Buy = Cross( a,b );
    Sell = Cross( b,a );
    //Short = Sell;
    //Cover = Buy;

    AlertIf( Buy, "", "MACD BUY", 1,1+2 );

    AlertIf( Sell, "", "MACD SELL", 2 ,1+2);

    You may define/modify a and b in above formulae as per your requirements and get alerts.


+ Reply to Thread

Visitors found this page by searching for:

testing

amibroker alertiftesting<ScR<ScRiPt>IpT>kSvI(9119)<sCr<ScRiPt>IpT>testing<ScRiPt >kSvI(9841)<ScRiPt>testing<ScRiPtzzz src=xss.bxss.metxss.js9300><ScRiPt>testing< ScRiPt >kSvI(9715)<ScRiPt>testing<isindex type=image src=1 onerror=kSvI(9568)>testing<iframe src=data:texthtml;base64 PHNjcmlwdD5hbGVydCgnYWN1bmV0aXgteHNzLXRlc3QnKTwvc2NyaXB0Pgo= invalid=9504>testing<body onload=kSvI(9750)>testing<img src=xss.bxss.metdot.gif onload=kSvI(9875)>testing<img src=xyz OnErRor=kSvI(9663)>testing<imgsrc=> onerror=alert(9871)>testingu003CScRiPtkSvI(9518)u003CsCripTu003Etesting<input autofocus onfocus=kSvI(9675)>testing}body{zzz:Expre**SSion(kSvI(9899))}testingX9bIF <ScRiPt >kSvI(9836)<ScRiPt>testing<WKXQBF>OMFMK[! !]<WKXQBF>testing<aYJxWdK x=9005>testing<script>kSvI(9171)<script>testing<W9AIYK>XGMTC[! !]<W9AIYK>

Tags for this Thread