仕事が完了した
指定
PLEASE READ CAREFULLY BEFORE TAKING MY ORDER and PLEASE READ THE EXPLANATION ON BOTH PICTURES
I want to create an EA based on ichimoku. But it has 2 strategies.
Edit: added rule 8, please read carefully.
Exit strategy is explained on point 4a, and its detail on 4b. Entry strategy is explained in point 6 and its pics.
What I want:
1. Money management (based on equity). Say my current equity is 10000, if I entry for 1% risk, then I should only lose 100 (approx) when I hit my stoploss.
2. Stoploss has 2 modes:
2. a. Mode 1: highest/lowest of X candles behind + Y * atr.
2. b. Mode 2: ATR only (let me configure the period and multiplier value).
3. I can turn on and off the strategies (lets say for pair A if i turn on strategy 1, then entry that to be made with strategy 2 is ignored.)
4. Every strategy opens up two position at once that does different exit strategy. Let's say strategy 1 triggered, the both will open up 2 positions on with x and y lot size (both x and y must be configurable with money management on, risk 0.5%, 1% etc).
4. a. Both strategy 1 and 2, opens up position for two different exit methods. Exit method 1 is using risk to reward ratio (like 1:1.5), let's call this strategy A. Exit method 2 is that only exit when the price closes below (or higher if on short position) conversion line (the faster line in ichimoku), let's call this strategy B.
4. b. So because strategy 1 and 2 opens up two position at once. We will have strategy 1A, strategy 1B, strategy 2A, and strategy 2B. I want in the configuration to set true and false for every strategy. For example: if I set strategy 1B to be false, when entry with strategy 1 is triggered, the bot only opens up 1 position instead, because strategy 1B is set to false.
5. Set the EA to work on current chart's timeframe (basically any timeframe).
6. Entry strategies:
6. a. Ichimoku Cloud Breakout
6. b. Ichimoku crossover continuation
6. c. As you can see on both 6. a. and 6. b., they are both using ATR for their own. I want to be able to configure separate ATR values (period and multiplier) of strategy 1 and 2.
6. d. Not only ATR values, but my confirmation needs to check X candles behind confirmation candle to see if no candle body's low exceed intended stoploss. Let's say I want to enter pair A at price 1000, after calculating with ATR, I find out that the stop loss is at 950. check for example 5 candles behind the confirmation candle to not have any body's low lower than stop loss. If any candle within that 5 has exceeded only with its shadow/tail/lowest but not body, it is still valid. I only check the body's low.
6. e. Coincidentally, the X candles to be checked on behind confirmation candle, it has to be configurable on the config.
7. To sum up, we have 2 entry strategies and 2 exit strategies. So total of 4 strategies: 1a, 1b, 2a, and 2b. I want to change each of their value true/false. If true, both 1a and 1b is true for example, the bot will open up 2 positions when entry strategy 1 is valid. I want to have individual configuration for these 4 strategies. For example strategy 1a (kumo breakout with risk reward ratio exit) has its own atr-period config, atr config (period and value), x candles to be checked behind confirmation candle. So do the other 3 strategies to have their own config value.
8. For all 4 strategies, I also want to be able to have these parameters:
a. Move SL trigger level (%): X% (this config allows me to move stoploss when price reaches x% of stoploss)
b. Move SL to: X% (if the trigger level reached, move SL to x%, for example current stoploss is 250 pips, then 50% is moving SL above or below entry line for 125pips. Please allow me to set the value in minus value, like move the stoploss to -20%. Say I am in a long trade. The stoploss is currently 100 pips, if I put -20% then the stoploss will be moved -20 pips below stoploss)