İş tamamlandı
İş Gereklilikleri
I need a programmer to make a custom robot for me. The logic is very simple and I want clean simple and working code by a professional programmer and not using any builder tools.
Logic:
On 15 min chart
Check if the bar is green or red
1. Green Bar
- If the body (without the tails) of the Green bar is >= 19 pips and < 30 pips (both to be true) //Can you add an option so later I can change the given sizes and test with different?
- And the previous bar is also green and >= 6 pips but < 19 pips //Can you add an option so later I can change the the logic for the previous bar (i-1) or even the the one before i-1 (i-2) to be red instead?
- Then open Short
- Take Profit at 2,5pips (Can we here make option and add a trailing take profit meaning if it goes to 2,5 pips profit not to close but to move the TP to 5 pips and add stop loss on the 2 pips profit and if we reach 5pips profit not to
close but move the TP to 7,5 pips and the SL to 5 pips profit ...so on. Please not that this is not mandatory requirement and just optional. I would like to test in both ways)
- Stop loss - to close after 20 minutes no matter of the price (Can the time be adjustable?)
2. Red Bar
- If the body (without the tails) of the Red bar is >= 19 pips and < 30 pips (both to be true) //Can you add an option so later I can change the given sizes and test with different?
- And the previous bar is also Red and >= 6 pips but < 19 pips //Can you add an option so later I can change the the logic for the previous bar (i-1) or even the the one before i-1 (i-2) to be green instead?
- Then open Long
-
Take Profit at 2,5pips (Can we here make option and add a trailing take
profit meaning if it goes to 2,5 pips profit not to close but to move
the TP to 5 pips and add stop loss on the 2 pips profit and if we reach
5pips profit not to
close but move the TP to 7,5 pips and
the SL to 5 pips profit ...so on. Please not that this is not mandatory
requirement and just optional. I would like to test in both ways)
- Stop loss - to close after 20 minutes no matter of the price (Can the time be adjustable?)
On 30 min chart
Check if the bar is green or red
1. Green Bar
- If the body (without the tails) of the Green bar is >= 19 pips and < 30 pips (both to be true) //Can you add an option so later I can change the given sizes and test with different?
- And the previous bar is also green and >= 6 pips but < 19 pips //Can you add an option so later I can change the the logic for the previous bar (i-1) or even the the one before i-1 (i-2) to be red instead?
- Then open Short
-
Take Profit at 2,5pips (Can we here make option and add a trailing take
profit meaning if it goes to 2,5 pips profit not to close but to move
the TP to 5 pips and add stop loss on the 2 pips profit and if we reach
5pips profit not to
close but move the TP to 7,5 pips and
the SL to 5 pips profit ...so on. Please not that this is not mandatory
requirement and just optional. I would like to test in both ways)
- Stop loss - to close after 35 or 40 minutes no matter of the price (Can the time be adjustable?)
2. Red Bar
- If the body (without the tails) of the Red bar is >= 19 pips and < 30 pips (both to be true) //Can you add an option so later I can change the given sizes and test with different?
- And the previous bar is also red and >= 6 pips but < 19 pips //Can you add an option so later I can change the the logic for the previous bar (i-1) or even the the one before i-1 (i-2) to be green instead?
- Then open Long
-
Take Profit at 2,5pips (Can we here make option and add a trailing take
profit meaning if it goes to 2,5 pips profit not to close but to move
the TP to 5 pips and add stop loss on the 2 pips profit and if we reach
5pips profit not to
close but move the TP to 7,5 pips and
the SL to 5 pips profit ...so on. Please not that this is not mandatory
requirement and just optional. I would like to test in both ways)
- Stop loss - to close after 35 or 40 minutes no matter of the price (Can the time be adjustable?)
Please provide me with your feedback
Thank you
Ivaylo