Trabajo finalizado
Tarea técnica
the target is the profitabel use of the „trend laser“ indicator automated. It has to open a buy position, if given trend changes from sell to buy and has to open a sell order, if given trend changes from buy to sell. So, if no other parameters speak against it, always one position per currency is opened.
Also there are some given external parameters it has to work with. The most of them are speaking for themselve, i think, but i wrote some instructions to every one of it. If you have any questions or suggestion for improvement or price and period are unrealistic feel free to talk about it.
##External Parameters #general settings Auto lot size true/false lot size 0,01 per every (x) (if auto lot size) 1000 max lot size 5 stopp loss 10 take profit 100 trailing stopp 5 min profit in pips 10 Break even after (x) pips in profit 10 Break even offset 1 #Filters max spread 0,5 Monday start hour (24h) 6 Friday close hour (24h) 22 Disable before next trend true/false agressive mode (martingale) true/false #Strategy Settings Timeframe for Entry M1,M5,... trade only with trend true/false Trimeframe for Trend M5,M15,... min success rate in % 85 use RSI for Entry true/false
Explanation
if „auto lot size=true“ open every position with „lot size“ * „per every (x) (if auto lot size)“
e.g. lot size=0.1; per every (x) (if auto lot size)=1000; deposit =5250
→ open position with 0,5 lot
e.g. lot size=0.2; per every (x) (if auto lot size)=1500; deposit >5250
→ open position with 0,6 lotif „auto lot size=false“
→ open every position with „lot size=x“)„max lot size“
→ maximum lot size for „auto lot size=true“ and „agressive mode=true“„stopp loss“
→ should be clear what to do;
→ if 0, then disable„take profit“
→ should be clear what to do
→ if 0, then disable„trailing stopp“
→ should be clear what to do
→ if 0, then disable„min profit in pips“
→enable „trailing stopp“ after x pips in profit„Break even after (x) pips in profit“
→ set stopp loss to entry after x pips profit
→ if 0, then disable„Break even offset“
→ add x pips to break even (stopp loss) for buy entry if „Break even after (x) pips in profit“ is >0
→ reduce x pips to break even (stopp loss) for sell entry if „Break even after (x) pips in profit“ is >0„max spread“
→ only open position, if spread is lower than x pip
→ if 0, then disable„Monday start hour (24h)“
→ open first positon not before x on monday
→ if 0, then disable„Friday close hour (24h)“
→ close open position at x on friday
→ if 0, then disable„Disable before next trend“
→ if true and position is opened, then just close position if „Timeframe for Entry“ changes direction
→ if false and position is opened, then close position if „Timeframe for Entry“ changes direction and open a new position with new trend direction
→ if false and no position is opened, then wait until „Timeframe for Entry“ changes direction and open a new position with new trend direction„agressive mode (martingale)“
→ if true and if last position closed in loss, then open the next position with doubled lot size until „max lot size“ is reached„Timeframe for Entry“
→used timeframe for entry signals, given by indicator„trade only with trend“
→ if true, then only open a position, if entry signal given by indicator at „Timeframe for entry“ is the same signal given by indicator as „Trimeframe for Trend“
→if false, then ignore „Trimeframe for Trend“„Trimeframe for Trend“
→ used Timeframe to check long term trend
→ check, that it is higher than „Timeframe for Entry“, otherwise print fail „time for trend has to be higher, than timeframe for entry“use RSI for Entry
→ if true and given trend for Entry is long, then wait and only open a buy position with if RSI is lower than 30 the next time
→ if true and the given trend for Entry is short, then wait and only open a sell position if RSI is higher than 70 the next time
→ has to work together with „trade only with trend“ if both set „true“
→ if false, then ignore RSI„min success rate in %“
→ only open position if „success rate“, given by indicator, is higher than x