Include PSAR indicator in EA

MQL4 Indicadores Experts

Trabalho concluído

Tempo de execução 46 minutos
Comentário do desenvolvedor
Thank you!
Comentário do cliente
Excellent developer. Very efficient and fast.

Termos de Referência


Include PSAR indicator in EA F8_V5.9_FL.mq4 

 
 
Definitions:

EA F8_V5.9_FL.mq4 

==========================Understanding EA ========================================================================================= 

The algorithm of the EA:

  1. The EA checks if there are any orders it had previously opened.
  2. If there are no open orders, then the EA analyzes the chart, and if all the conditions specified in the settings are met, it opens the first main order.
  3. After opening the first main order the EA sets the Take Profit and Stop Loss levels (if those modules are enabled).
  4. If the first main order closes with a loss, then the next order may be opened with an increase in size.
  5. If the first main order is placed, the Step Up and the Step Down modules are enabled and the price reaches the specified values, then additional orders for these modules are placed. Additional orders for the Step Up and Step Down modules may only be placed in case the EA sees that it has previously opened the first main order or there are unclosed additional orders.
  6. This Expert Advisor has 2 operation modes:
    • a) 1 operation mode is that if the Fast MA is above the Slow MA, then the EA places buy orders, and once the trend changes (the Fast MA is below the Slow MA) all of the opened orders are closed and sell orders are placed.
    • b) 2 operation mode is that if the EA has opened buy orders and the trend changes (the Fast MA is below the Slow MA), then the orders remain opened. The EA may place sell orders only when the Fast MA becomes lower than the Slow MA and all of the EA's orders are closed (Take Profit, Stop Loss are reached, or closed "by hand").
  7. This Expert Advisor has a Trade time module, which, if activated, allows the EA to place the first main order only at the time period specified in this module. This module does not apply to additional orders for Step Up, Step Down and Turn modules. That is, if there are orders previously opened by the EA, and either of the Step Up, Step Down or Turn modules is activated, then additional orders for these modules will be placed regardless of the time.

====================================  Attention ============================================

If iCross = true the system open only one master order when MAs cross. iCross=False is not used.

===============================================================================================================================

 
This EA open new Orders using 2 Moving Averages – Fast and Slow. I want add PSAR to open new orders.

Open orders are closed using TP, SL, TS,  CloseValue or when signal change.


This is feature working perfectly and no action is required. 


=== Changes I want  in F8_V5.9_FL.mq4 - Begin ==========

=== Add New Parameters  ====================================================


use_psar – Boolean – If True system will use 2 MAs and PSAR indicator to open new orders;

psar_step – Double – step parameter used in PSAR;

psar_maximum – Double – maximum used in PSAR;



use_psar_entry – Boolean – If TRUE system open new orders when 2 MAs and PSAR have the same signal. 

Example: when 2 MAs indicate BUY and PSAR indicates BUY a new BUY order is opened.





use_psar_exit – Boolean – when TRUE and the Profit Order - a BUY order - is negative if PSAR changes direction - PSAR indicates BUY and changes to SELL - the order is closed.

This feature is to used only if Profit Order is negative. When Profit Order is positive order will close by TP, SL, TS, CloseValue or when signal change.

Example:

1) A BUY order is open;

2) PSAR indicates BUY;

3) Profit Order is negative;

4) If the PSAR changes from BUY to SELL this order is closed.




Arquivos anexados:

MQ4
F8_V5.9_FL.mq4
103.2 Kb

Respondido

1
Desenvolvedor 1
Classificação
(258)
Projetos
269
29%
Arbitragem
2
50% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(59)
Projetos
92
42%
Arbitragem
4
0% / 100%
Expirado
3
3%
Trabalhando
3
Desenvolvedor 3
Classificação
(568)
Projetos
641
41%
Arbitragem
25
48% / 36%
Expirado
46
7%
Trabalhando
4
Desenvolvedor 4
Classificação
(70)
Projetos
91
25%
Arbitragem
26
19% / 54%
Expirado
25
27%
Livre
5
Desenvolvedor 5
Classificação
(461)
Projetos
488
70%
Arbitragem
6
67% / 0%
Expirado
2
0%
Trabalhando
6
Desenvolvedor 6
Classificação
(87)
Projetos
114
26%
Arbitragem
7
29% / 57%
Expirado
5
4%
Livre
Pedidos semelhantes
Hi, I want to develop a highly accurate, custom technical indicator for MetaTrader 5 (MT5) specifically tailored for 1-minute Binary Options trading (Quotex). I do NOT need an automated trading bot. I only need visual buy/sell arrows on the chart, an advanced alert system, and an on-chart performance statistics dashboard. The indicator must be 100% non-repainting. --- 1. STRATEGY CONFLUENCE LOGIC The indicator should
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 1 para 3 dias