QMP Filter trading EA

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

QMP Filter trading EA

Postby colorwind » Fri Dec 18, 2020 7:28 pm

Hello Apprentice:

Please help me build an EA that will do trading base on the QMP filter:

-when the first dot appear is a green dot on the chart, go long until when a red dot appears, close the long, and immediate go short. keep going until a green dot appear, close the short, and immediate go long.

-when the first dot appear is a red dot on the chart, go short until when a green dot appears, close the short, and immediate go long. keep going until a red dot appear, close the long, and immediate go short.

Also this EA has the money management that let me adjust the % of total money I can put in each trade, like 30%, 60% of total equity I am willing to put in each trade. and that is changeable.

For QMP Filter to work, it requires that MACD Platinum and QQE Adv indicators be loaded in indicators folder.

Thank you.
Attachments
QMP Filter 1.01.mq4
(5.93 KiB) Downloaded 444 times
MACD_Platinum.mq4
(59.49 KiB) Downloaded 351 times
qqe_adv.mq4
(6.25 KiB) Downloaded 335 times
colorwind
 
Posts: 4
Joined: Fri Dec 18, 2020 7:02 pm

Re: QMP Filter trading EA

Postby Apprentice » Sat Dec 19, 2020 5:12 am

Your request is added to the development list.
Development reference 2504.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: QMP Filter trading EA

Postby Apprentice » Thu Dec 24, 2020 6:53 am

QQE Adv.mq4
(6.25 KiB) Downloaded 315 times

MACD_Platinum.mq4
(59.49 KiB) Downloaded 294 times

QMP Filter 1.01.mq4
(5.93 KiB) Downloaded 316 times


Try this version.
QMP Filter EA.mq4
(178.32 KiB) Downloaded 387 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: QMP Filter trading EA

Postby colorwind » Thu Dec 24, 2020 4:23 pm

Thank you apprentice. some how this EA does not work and give me this error, please see log file.
Attachments
20201224.log
(1.14 MiB) Downloaded 203 times
colorwind
 
Posts: 4
Joined: Fri Dec 18, 2020 7:02 pm

Re: QMP Filter trading EA

Postby Apprentice » Fri Dec 25, 2020 4:21 am

Your request is added to the development list.
Development reference 2531.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: QMP Filter trading EA

Postby TONSIL » Sat Jan 30, 2021 7:58 am

Hi Guys
I have loaded said indicators into folder but when I try to open the filter MT4 freezes, any ideas?
Regards
Tonsil
TONSIL
 
Posts: 34
Joined: Sat Jun 20, 2020 3:26 pm

Re: QMP Filter trading EA

Postby ziaduz » Thu Feb 25, 2021 9:58 pm

When I was running a back test it appears there are warning and when running cause no orders to be executed when I know from using just the QMP_Filter 1.01 the Sell and Buy indicters are there. I realize the below are warnings just thought it might help. I'm running through the code trying to correct it but been a bit since I wrote code so I'm slow just thought this might help you.

declaration of 'orderHandlers' hides global variable QMP Filter EA.mq4 2897 22
see previous declaration of 'orderHandlers' QMP Filter EA.mq4 6398 16
possible loss of data due to type conversion QMP Filter EA.mq4 6095 67
declaration of 'orderHandlers' hides global variable QMP Filter EA.mq4 6169 19
see previous declaration of 'orderHandlers' QMP Filter EA.mq4 6398 16
ziaduz
 
Posts: 3
Joined: Thu Feb 25, 2021 9:50 pm

Re: QMP Filter trading EA

Postby ziaduz » Fri Feb 26, 2021 7:00 pm

Found log entries

0 18:55:56.974 Expert QMP Filter EA BCOUSD,M30: loaded successfully
0 18:55:59.078 TestGenerator: spread set to 2
2 18:55:59.083 2021.02.25 00:00:00 QMP Filter EA inputs: HigherTimeFrame=0; Fast_Platinum=12; Slow_Platinum=26; Smooth_Platinum=9; SF=1; RSI_Period=8; WP=3; trading_timeframe=0; ecn_broker=0; entry_logic=0; exit_logic=0; lots_value=0.01; lots_type=1; slippage_points=3; trading_side=2; logic_direction=0; close_on_opposite=1; position_cap=0; no_of_positions=1; no_of_buy_position=1; no_of_sell_position=1; stop_loss_type=0; stop_loss_value=10; stop_loss_atr_multiplicator=1; trailing_type=0; trailing_start=0; trailing_target_type=0; trailing_step=10; trailing_ma_length=14; trailing_ma_type=0; breakeven_type=0; breakeven_value=10; breakeven_level=0; take_profit_type=0; take_profit_value=10; take_profit_atr_multiplicator=1; magic_number=42; mandatory_closing=0; print_log=1; popup_alert=0; notification_alert=0; email_alert=0; play_sound=0; start_program=0; advanced_alert=0;
3 18:56:58.534 2021.02.25 23:59:59 QMP Filter EA BCOUSD,M30: 1 undeleted objects left
3 18:56:58.534 2021.02.25 23:59:59 QMP Filter EA BCOUSD,M30: 1 object of type OrderHandlers left
3 18:56:58.534 2021.02.25 23:59:59 QMP Filter EA BCOUSD,M30: 76 bytes of leaked memory
0 18:56:58.534 BCOUSD,M30: 45 tick events (44 bars, 986 bar states) processed in 0:00:59.453 (total time 0:01:01.453)
ziaduz
 
Posts: 3
Joined: Thu Feb 25, 2021 9:50 pm

Re: QMP Filter trading EA

Postby Apprentice » Sat Feb 27, 2021 4:08 am

Your request is added to the development list.
Development reference 234.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: QMP Filter trading EA

Postby Apprentice » Wed Mar 03, 2021 1:20 pm

image.png

I don't have any issues.
To validate the logic use the "Print decisions into the log" parameter. It'll print bar by bar all the decisions taken into the Excel file.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot], EAMONN, Google [Bot] and 11 guests

cron