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,
|