View Single Post
  #171 (permalink)  
Old 06-20-2009, 05:37 AM
efex01 efex01 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 2
efex01 is on a distinguished road
Exclamation Lot size calculator - aggressive money management

Hello Everyone,

I am a manual trader and i am looking to program a simple MT4 indicator to display on the main chart the required lot size to take on the next trade as following:

Lot size =(Equity x 1%) / (open spread + arbitrary number of pips +(Distance between current candle OPEN and SMA50))


The indicator should simply display the calculated Lot size on the screen and refresh it at every new candle
I'd like to have the following variables:
Risk (1% in the above example)
Arbitrary number of pips. This variable would be useful to decrease the lot size) default =zero.

Any help would be apprecaited in directing the right way with Metatrader programing. I never programed.

Thanks,
Reply With Quote