Hi all.
There is a good strategy where manually is working fine. I try to write the logical and so maybe some one can code it:
Arduino Scalping Logical Rev002
INPUT VALUES
1) Input BUY or SELL (EA is setted manually is buy or sell only)
2) Input number or starting lot size
3) Magic Number
4) TP (3 pips) – Not insered but EA will close is reached
5) SL (6pips) – Not insered but EA will close is reached
6) Safety TP – Example 50 pips
7) Safety SL – Example 50 Pips
8) Momentum Limit Buy (100,10)
9) Momentum Limit Sel (99,90)
10) Momentum period
11) Ask approval for continue after 3 crash (Yes or No)
WAY FOR UNDERSTAND WHEN OPEN
IF SELL IS CHOSED way of work will be:
a) Minimum 2 positive candle
b) The first negative is an Alert. EA must wait the end of this candle.
c) Now if price go down the minimum of first negative EA must Open SELL
d) EA must close also for TP 0,5 pips so need to send order for to close
e) EA must close also for SL 2,5 pips so need to send order for to close
f) Momentum must be less than 99,90 (or bigger than 100,10 for buy)
-------------------------------------
IF BUY if CHOSED way of work must be opposite.
EA MUST WORK WITH DIFFERENT LOT SIZE AND TP AND SL IF LOOSE FIRST TIME. IF WIN RESTART.
So if EA loose first operazion must increase lot size, TP and SL as follow:
I suppose Starting lost size = 0,1, TP 3 Pips, SL = 6 pips
First Setting à LOT = 0,1 – TP = 3 – SL = 6
Second Setting à LOT = 0,3 – TP = 6 – SL = 12
Third Setting à LOT = 1 – TP = 12 – SL = 24
If break 3 time stop it and give ALERT window where ask if you start again. Without approval it will not start to work.
There is a good strategy where manually is working fine. I try to write the logical and so maybe some one can code it:
Arduino Scalping Logical Rev002
INPUT VALUES
1) Input BUY or SELL (EA is setted manually is buy or sell only)
2) Input number or starting lot size
3) Magic Number
4) TP (3 pips) – Not insered but EA will close is reached
5) SL (6pips) – Not insered but EA will close is reached
6) Safety TP – Example 50 pips
7) Safety SL – Example 50 Pips
8) Momentum Limit Buy (100,10)
9) Momentum Limit Sel (99,90)
10) Momentum period
11) Ask approval for continue after 3 crash (Yes or No)
WAY FOR UNDERSTAND WHEN OPEN
IF SELL IS CHOSED way of work will be:
a) Minimum 2 positive candle
b) The first negative is an Alert. EA must wait the end of this candle.
c) Now if price go down the minimum of first negative EA must Open SELL
d) EA must close also for TP 0,5 pips so need to send order for to close
e) EA must close also for SL 2,5 pips so need to send order for to close
f) Momentum must be less than 99,90 (or bigger than 100,10 for buy)
-------------------------------------
IF BUY if CHOSED way of work must be opposite.
EA MUST WORK WITH DIFFERENT LOT SIZE AND TP AND SL IF LOOSE FIRST TIME. IF WIN RESTART.
So if EA loose first operazion must increase lot size, TP and SL as follow:
I suppose Starting lost size = 0,1, TP 3 Pips, SL = 6 pips
First Setting à LOT = 0,1 – TP = 3 – SL = 6
Second Setting à LOT = 0,3 – TP = 6 – SL = 12
Third Setting à LOT = 1 – TP = 12 – SL = 24
If break 3 time stop it and give ALERT window where ask if you start again. Without approval it will not start to work.