RSI AFL

Basic AFL Kit

 Buy Entry : when RSI line crosses 30 from bottom to up. 

 Short Entry : When RSI Line crosses 70 from top to bottom. 

 Sell : Occurs due to Target or SL or at Square off time (Only for Intraday mode) 

 Cover : Occurs due to Target or SL or at Square off time (Only for Intraday mode) 

 Here are the Parameters of the AFL and their function in the strategy : 

 1. Message Box : This Box shows the Current position , Target and SL price on chart and also shows Net P/L if its kept on 

 2. Intraday Mode : If its set on the the strategy will work for Intraday and if its off then the strategy will work for positional trading. 

 3. Trade Start time : Here you have to mention the time from which you want to accept the signals and this feature works only when Intraday mode is on. 

 4. No Entry After : Here you have to mention the time from which you want to stop accepting the signals and this feature works only when Intraday mode is on. 

 5. Square off Time : Mention the Time at which you want to square off your intraday positions if the Target or SL is not achieved. and this feature works only when Intraday mode is on. 

 Example : If Trade Start time is 0945 and No entry after time is 1445 and Square off time is 1510, the Code will take trades only after 9:45 am , any crossover before 9:45 am will be ignored and it will accept fresh signals only till 2:45 pm and if there is any open position, it will be squared off at 3:10 pm. 

 6. Point or Percentage : Choose whether you want Target in Points or Percentage. 

 7. Target : You can Set the Target price here. For Long position Target will be Buy price + Target and for Short position the Target will be Short price – Target. 

 8. SL : You can set the SL price here. For Long position, SL will be Buy Price – SL and for Short position the SL will be Short price + SL 

 9. RSI Period : Choose the RSI period which would generate entry and exit. 

 10. Backtest settings > Initial Equity in Thousand : Here you can set how much capital to be used while generating Backtest report. 

 11. Account Margin : You can Set Leverage for trading here. The rule to calculate leverage using account margin is 1 divided by decimal. 

 Ex : If Account margin is 0.1, then 1/0.1 = 10 and it represents 10X leverage If account margin is 0.2, then 1/0.2 = 5 and it represents 5X leverage. 

 12. Max Open position : Here you can define how many scripts can have concurrent open position. 

 Ex : If the Max Open position is set to 10, then the initial equity will be divided into 10 parts and allocated to 10 different scripts until they are having a open position. 

 13. Lot size : For Equity trading its 1, and for other FNO and MCX segment you can add corresponding lot size as per script and do the backtesting of your strategy as per lot size. 14. Algofox Auto > Instrument : Select in which segment you want to automate the trades. 15. Product type : Choose whether to place MIS/NRML/CNC trade here. 

 16. Point or Percentage : Choose whether the Limit buffer you wish to set should be in points or percentage. 

 17. Limit Order Buffer : Add the buffer in points/percentage that you wish to add to existing Limit price while sending order to your preferred broker. 

 Ex : If LTP is 100 and Limit order buffer is 1%, then Amibroker will send a Limit order of 101 for Buy order and 99 for Short order, this is used by traders to ensure their orders are filled and they give away a very small slippage compared to market orders. 

 18. Order Quantity : Mention the number of shares to be fired from Amibroker to Algofox here. 

 19. Entry candle : If your AFL is repainting in nature and you want to avoid false and excessive signals choose completed candle and if your AFL is not repainting choose Live candle. 

 20. Merge Order : This feature helps you merge (Sell + Short ) and (Buy + cover), if merge order is kept ON, and if there Is a reversal EMA crossover, in a single trade previous entry will be square off and fresh entry will be triggered. 

 21. Disable Buy-sell : If user selects YES, then all long entries and exits will be stopped for that session. 

 22. Disable Short-cover : If a User selects YES, then all short entries and exit will be stopped for that session. 

 23. Strategy Tag : Choose the Tag that you wish to assign to EMA crossover and mention it here. 

 24. Algofox Trading key : Add key from Algofox trade setting to automate trades from Amibroker to Algofox. 

 25. Button trading : If kept on, you will see 4 buttons namely : Buy, Sell, Short and Cover to automate trades by just clicking on them.

 26. Buy Order Quantity : The Quantity mentioned here would be fired when user clicks on Buy button 

 27. Sell order Quantity : The Quantity mentioned here would be fired when user clicks on sell button.

 28. Short order Quantity : The Quantity mentioned here would be fired when user clicks on short button 

 29. cover order Quantity : The Quantity mentioned here would be fired when user clicks on cover button 

 30. Button Horizontal Position : Choose the horizontal coordinate where you wish to see this button on chart. 

 31. Button Vertical Position : Choose the vertical coordinate where you wish to see this button on chart. 

 Here is the video tutorial of the strategy :


INR 12000

with source code for lifetime validity.

Launch your GraphyLaunch your Graphy
100K+ creators trust Graphy to teach online
𝕏
Algofox 2024 Privacy policy Terms of use Contact us Refund policy