Recent content by prasanname

  1. P

    How to run same afl for three symbols and ignore other signals in all 3 after first signal executed

    how to run same afl strategy in amibroker for three stocks(symbols) and after first trade order(signal) executed in any one of the stock, need to skip or stop other new signals or orders in all 3 stocks. is that possible? if so how? i need it for auto trade through amibroker.
  2. P

    Simple Coding Help - No Promise.

    how to write correctly this one in afl if ( DayC<DayO ) dayc is yesterday close and dayo is today open it should be something like this for( i = 1; i < BarCount; i++ ) { if ( Close[ i ] < open[ i - 1 ] ) i dont know how to write it can anyone help...
  3. P

    Simple Coding Help - No Promise.

    same just added that
  4. P

    Simple Coding Help - No Promise.

    can u come in online chat
  5. P

    Simple Coding Help - No Promise.

    my actual code is like this Buy1 = (Cross (C, R4) OR Cross (H ,R4) OR Cross (R4 ,L)) AND L<R4; Buy2 = (Cross (C, S3) OR Cross (S3 ,L) OR Cross (H ,S3)) AND L<S3; Sell1 = (Cross (R3 ,C) OR Cross (H, R3) OR Cross (R3 ,L)) AND H>R3; Sell2 = (Cross (S4 ,C) OR Cross (H, S4) OR Cross (S4 ,L)) AND...
  6. P

    Simple Coding Help - No Promise.

    ahhh i think that problem still not solved its till shows wrong signal at firstbar of 5mins new day now i am totally confused
  7. P

    Simple Coding Help - No Promise.

    ya i have full code with buy sell short and cover perfect only this first bar wrong signal was problem now with your great help i think its also solved
  8. P

    Simple Coding Help - No Promise.

    can u come in any online chat sir?? i think this will work for my problem great thanks a lot Buy1 = Cross (C, R4) AND L<r4; Buy2 = Cross (C, S3) AND L<s3; Sell1 = Cross (R3 ,C) AND H>r3; Sell2 = Cross (S4 ,C) AND H>s4; thats why needed other help bcoz everyone thinks in different view so will...
  9. P

    Simple Coding Help - No Promise.

    hmm interesting top one will try now thansk a lot can u come in any online chat sir?? is there no way in afl coding to say show buy signal only when price touches certain price target ??? that cross function gives this wrong signal at start first bar of day i think so
  10. P

    Simple Coding Help - No Promise.

    thanks a lot but it also ignore correct signals if comes in first bar ? i used in amibroker only but it still shows wrong buy signal at 9.15 start first bar i know how to ignore first 5mins 9.15to9.20 signals but it also ingnores correct buy signal in that time tn = TimeNum(); startTime =...
  11. P

    Simple Coding Help - No Promise.

    then its not yesderday value problem ? problem in Buy2 = Cross (C, S3); ?? bcoz it should show buy2 signal only when it crosses bottom buysignal but its showing in middle of buy1 and sell2line why? i just want formula for show buy signal only when price touch certain price not like when it...
  12. P

    Simple Coding Help - No Promise.

    no its should show buy signal only when it cross greenline, why its showing buy signal in middle of greenline and redline ?? this problem occurs only at start of first candle bar in newday. plz help
  13. P

    Simple Coding Help - No Promise.

    need help in editing this afl its working but it shows wrong buy signal at start of new day need to avoid that wrong signal plz help SetPositionSize( 2000, spsShares ); // 2000 shares by default _SECTION_BEGIN("levels"); DayH = TimeFrameGetPrice("H", inDaily, -1); // yesterdays high DayL =...
  14. P

    help needed to edit pivot based buy-sell afl code

    thanks for trying to help me there is lot i need to edit in it sir first problem is it should calulate only at start of 9.15 also i need the buy signal to show immediately when price touches r1 and like that sell signal when price touches s1 when the 1min candle is green for buy ,red for...
  15. P

    help needed to edit pivot based buy-sell afl code

    this is the pivot based buy-sell afl code i need it to be edited for perfect buy sell trading for auto trading so plz someone help me sir i need to make it buy signal at the moment when it touches buy target with green candle, same for sell when it touches sell target with red candle. next...