Hello Everyone,
I am trying to create an exploration to give automatic buy/ sell signals based on above conditions. I am trying to combine all 3 indicators to get a stronger signal. Can someone help me writing an AFL formula for the below mentioned conditions -
ADX(14)
Buy when +DI crosses above -DI
Sell when +DI crosses below -DI
AND/OR
Buy when RSI is below 30
Sell when RSI is above 70
AND/OR
Buy when MACD (12,26) crosses above signal (12,26,9)
Sell when MACD (12,26) crosses below signal (12,26,9)
I have tried using Powerscan add-in in Amibroker but its AND OR feature is not enabled.
Since I am new to AFL coding so seeking help from seniors. Please help.
Also please let me know if I am missing something. Also if its possible to use the same for SCAN and BACKTESTING.
Cheers
Abhinav
I am trying to create an exploration to give automatic buy/ sell signals based on above conditions. I am trying to combine all 3 indicators to get a stronger signal. Can someone help me writing an AFL formula for the below mentioned conditions -
ADX(14)
Buy when +DI crosses above -DI
Sell when +DI crosses below -DI
AND/OR
Buy when RSI is below 30
Sell when RSI is above 70
AND/OR
Buy when MACD (12,26) crosses above signal (12,26,9)
Sell when MACD (12,26) crosses below signal (12,26,9)
I have tried using Powerscan add-in in Amibroker but its AND OR feature is not enabled.
Since I am new to AFL coding so seeking help from seniors. Please help.
Also please let me know if I am missing something. Also if its possible to use the same for SCAN and BACKTESTING.
Cheers
Abhinav