Include PSAR indicator in EA

MQL4 Indicatori Esperti

Lavoro terminato

Tempo di esecuzione 46 minuti
Feedback del dipendente
Thank you!
Feedback del cliente
Excellent developer. Very efficient and fast.

Specifiche


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.




File:

MQ4
F8_V5.9_FL.mq4
103.2 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(204)
Progetti
209
28%
Arbitraggio
0
In ritardo
3
1%
Gratuito
2
Sviluppatore 2
Valutazioni
(47)
Progetti
71
45%
Arbitraggio
3
0% / 100%
In ritardo
0
In elaborazione
3
Sviluppatore 3
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
21
57% / 29%
In ritardo
47
7%
In elaborazione
4
Sviluppatore 4
Valutazioni
(63)
Progetti
84
26%
Arbitraggio
23
22% / 48%
In ritardo
23
27%
In elaborazione
5
Sviluppatore 5
Valutazioni
(383)
Progetti
411
69%
Arbitraggio
3
100% / 0%
In ritardo
2
0%
Occupato
6
Sviluppatore 6
Valutazioni
(87)
Progetti
114
26%
Arbitraggio
7
29% / 57%
In ritardo
5
4%
Gratuito
Ordini simili
Hello, I have a protected Ninja trader Order Flow indicator and I was wondering if you can reverse engineer it to replicate the functionality. H ere are the specifications and indicator: https://docs.google.com/document/d/1KyYwQ7iTL2KWGhnZzxS1gObccu9LPMrGuMc9Mdk_3KY/edit?usp=sharing
I have an EA that need some changes including integrating the indicator code directly into the Expert Advisor. I will give the detailed doc once we settle on the candidate for the job . Please bid if you can work with the stated amount. Thanks
Hello, Need to convert Tradingview Indicator to MQL4 indicator. or if you have this one converted already, let me buy a copy please. If we're good, then will definitely buy it and ask to convert into EA on new order. Supertrend by KivancOzbilgic
Fix bug or modify an existing Trading view indicator to display correct. The indicator is working but not displaying/plotting all the information i want. So i want it adjusted to plot all the info
Here's a brief requirement you can use: **Description:** I am seeking an experienced MQL5 developer to create a (EA). The EA should include features for placing pending orders (Buy Stop and Sell Stop) based on market spread, managing trades effectively at the opening of new candlesticks, and implementing take profit and stop loss strategies. Additionally, I would like the option to adjust parameters based on market
I have an EA which i need to do below modifications. Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No
Add multiplier to grid recovery system. For example: Grid Trade 2-3 Spacing; 1.0 Multiplier Grid Trade 4-6 Spacing; 2.0 Multiplier Grid Trade 7+ Spacing; 1.6 Multiplier Need quick turn around. Need it done ASAP
Objects reader PIN 70 - 100 USD
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I want an indicator and its source code that returns the value of: - two moving averages in different selectable timeframes, with method Exponential and price calculation price_open; - Opening, closing, maximum and minimum of the candle in different timeframes And that returns the values ​​regardless in a chart of one minute. The input parameters: * select timeframe media1 = {1,2,3,4,5,...} * select timeframe media2
Hello, I want offline Renko chart based on pips and time. Trading View Renko chart is a perfect example of what I require, it prints renko bricks at close of time frame chosen which is more cleaner. The Trading View Renko chart wait until end of desired timeframe candle to close before final renko bricks are drawn. Best is to look at Trading View renko charts to see exactly how this works. I currently have an

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
da 1 a 3 giorno(i)