Rocket jet afl

mastermind007

Well-Known Member
#21
OK! Here you go!!!

Following AFL will obtain 52 Week High exactly same as what NSE reports. If it differs, its more likely that you've got either wrong or missing data!!!

Code:
d=DateTime();
s=SelectedValue(d);
p=DateTimeAdd(s, -1, inYearly);
b=BarsSince((Ref(d,-1)<p) AND (d>=p));
yh=HHV(H,b);
 
Last edited:
#22
What systems are you using to trade? One day, you want AFL? Next day you are chasing away some "good" system just because the seller is in Hyderabad (diff city). Now you are with MQ4?

Are you a trader of stocks or trader of software trading systems?

Dear sir,

I also want this AFL in MT4 Coding format. I am a client with a company who is giving autotrading with MT4. Some time ago one of my friend has given this. No Doubt that This AFL is Working Excellently for certain stocks and commodities, but kindly convert ROCKETJET into MT4 Coding and send to my email. [email protected]
 
#23
* First Modification by KelvinHand V1.
- To future optimise the code
- Remove unuse sections
- Combine related sections.
- Re label the missleading portion
=> Sup n Res to Daily Pivots
=> Re-Color, re-arrange, re-postion addition description in R3, R2, R1,PP S1, S2, S3, YH, YL to reduce confusion

7 Rings of indication on the Top Left
======================
Ring 1: %BB(7)
Ring 2: CCI(9)
Ring 3: Entry_Exit_Beast
Ring 4: Rays
Ring 5: RSI(7)
Ring 6: STC(Schaff Trend Cycle)
Ring 7: PFE(Polarized Fractal Efficiency)

Buy/Sell LEDs:
========
Buy indication on the left of 7 Rings
Sell indication on the right of 7 Rings


4 Trend Directions on Bottom Left
=====================
North: Strong Bull => Macd & Signal above ZL, Macd>Signal
East: Weak Bull => Macd below ZL, but Macd > Signal
West: Weak Bear => Macd above ZL, but Macd < Signal
South: Strong Bear => Macd below ZL, but Macd < Signal


Volume Spiker on the Top Right
====================
Volume Based Bullish/ Bearish Indication. When volume is:-
Green: Up-Day AND Up-Close
Yellow: Up-Day BUT Down-Close
Red: Down-Day AND Down-Close
Blue: Down-Day BUT Up-Close



Daily Pivots on the Bottom Right
====================
Res:R1..R3
CP: Center Pivot
Sup:S1..S3
YH:Yesterday High,
YL:Yesterday Low


2 Prices in the Middle:
=============
Left: Trailing StopLoss
Right: Current Price


Heikin-Ashi Candlestick:
===============
Colored Candle based on default Macd(5,10,5):
Yellow IF MACD below ZL AND MACD > Signal ==>Strong Bull Trend
White IF MACD above ZL AND MACD > Signal ==>Weak Bull Trend
Olive IF MACD above ZL AND MACD < Signal ==> Weak Bear Trend
Red IF MACD below ZL AND MACD < Signal ==>Strong Bear Trend

Buy/Sell Arrow:
==========
* Breakout Setting
White Triangle Arrow When Close Price Break the 5 Periods Highest Peak
Red Triangle Arrow When Close Price Break the 5 Periods Lowest Trough

4 Moving Averages
============
Default:
- WMA(HaClose, 20)
- WMA(HaClose, 60)
- WMA(HaClose, 120)
- WMA(HaClose, 180)

[/Code]
First, I appreciate for the changes, and now this is far better than old one and one thing can you give a peice of code for generated signal buy / sell, becoz this is using HA candles, i mean just i want to display that at what price the buy / sell signal generated and further when i scan with the AFL in live market in lower timeframes other than daily, it is showing error 10 array subscript out of range. please let me know about this and possible fix please.
 
#24
* First Modification by KelvinHand V1.
- To future optimise the code
- Remove unuse sections
- Combine related sections.
- Re label the missleading portion
=> Sup n Res to Daily Pivots
=> Re-Color, re-arrange, re-postion addition description in R3, R2, R1,PP S1, S2, S3, YH, YL to reduce confusion

7 Rings of indication on the Top Left
======================
Ring 1: %BB(7)
Ring 2: CCI(9)
Ring 3: Entry_Exit_Beast
Ring 4: Rays
Ring 5: RSI(7)
Ring 6: STC(Schaff Trend Cycle)
Ring 7: PFE(Polarized Fractal Efficiency)

Buy/Sell LEDs:
========
Buy indication on the left of 7 Rings
Sell indication on the right of 7 Rings


4 Trend Directions on Bottom Left
=====================
North: Strong Bull => Macd & Signal above ZL, Macd>Signal
East: Weak Bull => Macd below ZL, but Macd > Signal
West: Weak Bear => Macd above ZL, but Macd < Signal
South: Strong Bear => Macd below ZL, but Macd < Signal


Volume Spiker on the Top Right
====================
Volume Based Bullish/ Bearish Indication. When volume is:-
Green: Up-Day AND Up-Close
Yellow: Up-Day BUT Down-Close
Red: Down-Day AND Down-Close
Blue: Down-Day BUT Up-Close



Daily Pivots on the Bottom Right
====================
Res:R1..R3
CP: Center Pivot
Sup:S1..S3
YH:Yesterday High,
YL:Yesterday Low


2 Prices in the Middle:
=============
Left: Trailing StopLoss
Right: Current Price


Heikin-Ashi Candlestick:
===============
Colored Candle based on default Macd(5,10,5):
Yellow IF MACD below ZL AND MACD > Signal ==>Strong Bull Trend
White IF MACD above ZL AND MACD > Signal ==>Weak Bull Trend
Olive IF MACD above ZL AND MACD < Signal ==> Weak Bear Trend
Red IF MACD below ZL AND MACD < Signal ==>Strong Bear Trend

Buy/Sell Arrow:
==========
* Breakout Setting
White Triangle Arrow When Close Price Break the 5 Periods Highest Peak
Red Triangle Arrow When Close Price Break the 5 Periods Lowest Trough

4 Moving Averages
============
Default:
- WMA(HaClose, 20)
- WMA(HaClose, 60)
- WMA(HaClose, 120)
- WMA(HaClose, 180)



KelvinHand, your work is great .. I thank you for it, I have a question, does it supposed to be the other way around or this is already correct?

----------
Yellow IF MACD below ZL AND MACD > Signal ==>Strong Bull Trend
White IF MACD above ZL AND MACD > Signal ==>Weak Bull Trend
----------

Thank you in advance.
 
#25
@KelvinHand is your afl available for mt4. If yes how can i get it and if not can you pls code it for MT4. I have a licencing issue with amibroker and i can't format the machine now.I have seen the backtest of rocket jet it is very good.
 

ocil

Well-Known Member
#26
What is the issue in Amibroker. We can try to fix if you share the details.
@KelvinHand is your afl available for mt4. If yes how can i get it and if not can you pls code it for MT4. I have a licencing issue with amibroker and i can't format the machine now.I have seen the backtest of rocket jet it is very good.
 
#27
@ocil i was using a cracked version of Amibroker 6.20 sudenly after running backtest on some afl the software is giving licence issue. I tried to clean the registry entry for amibroker and also files in diff location but no help. I can't format the machine right now. Lets see what can be done.
 

ocil

Well-Known Member
#28
There is a lot of options available you can do without formatting your hard drive.
1) use lower ver of Amibroker.
2) Block access of Amibroker to there licence server.
3) remove info from the registry (Registry has multiple copies of the same info in the different location)
etc.....


@ocil i was using a cracked version of Amibroker 6.20 sudenly after running backtest on some afl the software is giving licence issue. I tried to clean the registry entry for amibroker and also files in diff location but no help. I can't format the machine right now. Lets see what can be done.
 
#29
Yes @ocil I have tried all option tried installing lower version. I scanned the registry with total uninstall and removed entry. But this didn't work.

The biggest mistake i made is that i did not take backup of the registry before install and also did not create a restore point. Ok once bitten but next time will take care. I am not letting this off I have taken this personally and will see what its doing in the system and I will install it in a vm and check it. Lets see what changes its doing to the system and Monitor its network call with wireshark or fiddler. When ever i find something I will post it here so that other people don't suffer.
 

ocil

Well-Known Member
#30
Hi Rick i can help on this issue. Ping me before 4 PM. I need remote access to your computer. anydesk or team viewer 7 will work.
 

Similar threads