Search results

  1. O

    NF Swing Trading using Fractal AFL

    I have used the following code , pls verify. //PATRICK DOHERTY// SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ))...
  2. O

    NF Swing Trading using Fractal AFL

    Pls post the AFL. It was there with me, I forgot where I have kept it.
  3. O

    NF Swing Trading using Fractal AFL

    There are no changes till now, Whatever tweaks I have tried so far are not giving anything more than the original one, so I am still using the code in post # 36.
  4. O

    NF Swing Trading using Fractal AFL

    The conditions you are stating are good, but it is not easy to put in code, need some help from experts.
  5. O

    NF Swing Trading using Fractal AFL

    will look into it today evening.
  6. O

    NF Swing Trading using Fractal AFL

    Hi aaru, Pls place the AFL code inside scroll window to facilitate ease in reading. Pls select the entire AFL code and click on the "#" tag at the top. This will place the AFL in a scrollable window and will be easy to read. Regards
  7. O

    NF Swing Trading using Fractal AFL

    I should have kept my id as buddatrader , instead of oldtrader, well I am a budda and not a buddi, so u can address me as he if you like.:D Regarding the merging. I was thinking of taking entries when both the fractal and 315 conditions are satisfied and exit when either of the 2 conditions...
  8. O

    NF Swing Trading using Fractal AFL

    Not datafeed . 2 sets of data pertaining to different time period. Like one for 2014 and another for 2015. The problem has been solved now.
  9. O

    NF Swing Trading using Fractal AFL

    Since there has been so much discussion on this topic. I need to clarify the position. The reason why I needed to split the cells was that I had 2 sets of data , I wanted to combine these 2 into a single data. I was thinking of manually merging the 2 data sets together, that is why the need for...
  10. O

    NF Swing Trading using Fractal AFL

    I am getting output like this.
  11. O

    NF Swing Trading using Fractal AFL

    It will be very helpful if you could share the AFL.
  12. O

    NF Swing Trading using Fractal AFL

    I wanted to export data from Ami to .csv. I used the following code // Set the Starting and End Dates // Make sure these dates are not holidays. StartDate = ParamDate("Starting Date", "31-12-2007"); EndDate = ParamDate("Start Date", "31-12-2008"); //Find the corresponding Bar Numbers...
  13. O

    NF Swing Trading using Fractal AFL

    Hi Singhraja, Pls enclose the AFL in code so that it is easily readable. Here is an example
  14. O

    NF Swing Trading using Fractal AFL

    The below pasted image will explain what I am trying to say. The red line is the SL at 0.73 %, the green lines are the profit booking levels. In the first case long is triggered at 7516.2 , Initially the SL was active , later on the TSL took over and it was triggered. The second case Short was...
  15. O

    NF Swing Trading using Fractal AFL

    You have no idea how much this code has helped me. Anyway I am working on partial exits. Percentage code u have given is working perfectly. Please help me in incorporating a SL into the AFL . I am thinking of keeping 0.73% SL . The TSL will also be there, which ever comes first will be...
  16. O

    NF Swing Trading using Fractal AFL

    I had changed the 1st line only, that is why I was getting strange results. Let me try after changing the first, second and fourth line of the 4 line Profit code. Thanks a lot for the promt reply.
  17. O

    NF Swing Trading using Fractal AFL

    Please check the code again. I am getting strange results with the above code. Note . Misread your post and edited the 1st line only. Let me try again .
  18. O

    Simple Coding Help - No Promise.

    Please look into this
  19. O

    NF Swing Trading using Fractal AFL

    Hi Happy Singh, Need your help very badly to run optimization with profit code included. I need a little change in the profit parameters. Instead of the profit range of 0 to 1250 points , I would like to check as percentage of trigger price. I would prefer a percentage range of 0 to 10. Please...
  20. O

    NF Swing Trading using Fractal AFL

    Very tough times . Too many whipsaws in the past few days. Still the monthly SL of 250 points is not hit as the whipsaws are spaced out and the trades are resulting in breakeven or small SLs.