Enforcer ( Position Size manager )

MQL4 스크립트

작업 종료됨

실행 시간 29 일

명시

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 

 

응답함

1
개발자 1
등급
(53)
프로젝트
108
68%
중재
3
33% / 33%
기한 초과
40
37%
무료
비슷한 주문
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone
C onversion from Ninjatrader to Tradingview. This includes thorough testing and debugging to guarantee that the script functions as intended on Tradingview...If you are in for this job kindly bid
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
there I hope you're doing well I want to convert the tradingview indicator to make an indicator for mt5. And in that, I want to make an automatic robot on the base of the indicator. I have the pine script of that indicator
Looking for someone who is able to code MQL for MT5 manager plug-in? Please contact me for more info. it is mainly on when to trigger a stop out of the account
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so

프로젝트 정보

예산
20 - 40 USD
개발자에게
18 - 36 USD
기한
에서 1  10 일