Topic: Risk Percent
Hello friends,
Was wondering if anyone could help me out here.
Trying to makeing some modifications on some of my EA's, right now my objective is to try makeing my EA portifolio risk a certain % on each trade it open.
Normal from EA studio:
/*STRATEGY CODE {"properties":{"entryLots":0.03,"stopLoss":55,"takeProfit":70,"useStopLoss":true,"useTakeProfit":true,"isTrailingStop":false},"openFilters":[{"name":"Bollinger Bands","listIndexes":[2,3,0,0,0],"numValues":[28,1.74,0,0,0,0]},{"name":"Standard Deviation","listIndexes":[7,3,0,0,0],"numValues":[6,0,0,0,0,0]}],"closeFilters":[{"name":"Bollinger Bands","listIndexes":[0,3,0,0,0],"numValues":[34,3.57,0,0,0,0]}]} */
signalList[i++] = GetExitSignal_00();
signalList[i++] = GetEntrySignal_00();
/*STRATEGY CODE {"properties":{"entryLots":0.03,"stopLoss":17,"takeProfit":98,"useStopLoss":true,"useTakeProfit":true,"isTrailingStop":false},"openFilters":[{"name":"Money Flow Index","listIndexes":[5,0,0,0,0],"numValues":[12,56,0,0,0,0]}],"closeFilters":[{"name":"Money Flow Index","listIndexes":[5,0,0,0,0],"numValues":[48,12,0,0,0,0]}]} */
signalList[i++] = GetExitSignal_01();
signalList[i++] = GetEntrySignal_01();
What im trying to achieve:
Risk Percent: Example:5%
/*STRATEGY CODE {"properties":{"entryLots":(Calculated based on the risk
5%),"stopLoss":5%,"takeProfit":70,"useStopLoss":true,"useTakeProfit":true,"isTrailingStop":false},"openFilters":[{"name":"Bollinger Bands","listIndexes":[2,3,0,0,0],"numValues":[28,1.74,0,0,0,0]},{"name":"Standard Deviation","listIndexes":[7,3,0,0,0],"numValues":[6,0,0,0,0,0]}],"closeFilters":[{"name":"Bollinger Bands","listIndexes":[0,3,0,0,0],"numValues":[34,3.57,0,0,0,0]}]} */
signalList[i++] = GetExitSignal_00();
signalList[i++] = GetEntrySignal_00();
/*STRATEGY CODE {"properties":{"entryLots":(Calculated based on the risk
5%),"stopLoss":5%,"takeProfit":98,"useStopLoss":true,"useTakeProfit":true,"isTrailingStop":false},"openFilters":[{"name":"Money Flow Index","listIndexes":[5,0,0,0,0],"numValues":[12,56,0,0,0,0]}],"closeFilters":[{"name":"Money Flow Index","listIndexes":[5,0,0,0,0],"numValues":[48,12,0,0,0,0]}]} */
signalList[i++] = GetExitSignal_01();
signalList[i++] = GetEntrySignal_01();
Would really appreciate if anyone could help me out on this one
Thanks guys