Enforcer ( Position Size manager )

MQL4 Script

Lavoro terminato

Tempo di esecuzione 29 giorni

Specifiche

Hi all,

 

 I have a new project, hope you can take it up.

 

Part I:

 

ENFORCER: This script will help me to calculate and manage my position size based on my equity.

 


After I have key-ed in the Entry Price and Stop Loss,


the script should generate the allowed position size for each trade


1.The default size will be 1% per position.

2. Allow option for percentage to be based on "Balance" or "Equity"


Eg.

If equity has $3000 ,

position size of 1% = $30


3. Positions will be rounded down to nearest microlot.


Eg. if position calculated is 0.876, 

it will be rounded down to 0.87.

Eg.

If position calculated is 0.008,

it will be rounded up to 0.01 instead, the smallest 

lot size available.


4. There is a default of maximum 80 pips SL.

If the SL level key-ed in is more than 80 pips, then 

Enforcer will compute the position size as " XXXX"

( Therefore I will not be able to execute trade unless I changed my entry price to 

accommodate my SL level. )

 

 


 1

 

 

  After this is done, we will proceed to part 2.

 

 

Edited 131214

 

 An issue that will appear and seeking the coder's opinion on its feasibility:

 

1) Will the script be able to determine the maximum SL of 80 pips between different pairs?

 example: 

CADJPY , USDZAR ,GBPNZD,  US30( indices) all have different value for what is considered 80 pips.

 

 

 


Regards, 

 Chartist77 

 

Con risposta

1
Sviluppatore 1
Valutazioni
(52)
Progetti
108
68%
Arbitraggio
3
33% / 33%
In ritardo
40
37%
Gratuito
Ordini simili
Everytick Account 30 - 50 USD
ChatGPT said can do I want to make a symbol for XAUUSD (or other symbols) that can run on live, but it does not run by realtick, I need it run by everytick ---------------- I need to create a “synthetic symbol” (custom symbol) in MT4/MT5 with the following features: Realtime synthetic symbol The synthetic symbol must receive price data from a real symbol (e.g., XAUUSD, EURUSD…). Whenever the real symbol receives a
Wyckoff Spring EA Development Guide 📋 PROJECT OVERVIEW EA Concept: A sophisticated EURUSD trading robot based on Wyckoff Method principles, specifically detecting Spring & Upthrust patterns with advanced risk management and hedging capabilities. 🎯 CORE TRADING RULES 1. PATTERN DETECTION SYSTEM Spring Pattern (Long Entry): text CONDITIONS: 1. Identify Support Level (recent swing low) 2. Price breaks BELOW

Informazioni sul progetto

Budget
20 - 40 USD
Scadenze
da 1 a 10 giorno(i)