指定
Buy command:
-
After K Renko “UP” bars, look for “Buy” opportunity
-
If there is one bar down, set ”Buy stop” command (use the SLRenko and the TPRenko)
If there are 2 bar downs , close the previous buy command and open a new buy command.
as far as there are less-equal then “Mback” bars down close the previous stop buy command and open a new one/
if there are more than Mback down bars , close the “buy stop” command and we’re no longer in buy opportunity mode.
-
If there command is still pending after Twait , cancel the command
-
Close the order after “Expired“ seconds time
Same for "Sell" commands
Parameters:
-
K -- successive renko bars in the same direction
-
Having K successive renko bars is our indication to look for retracment.
-
Twait -- In seconds, amount of second to wait till canceling “Buy Stop” or “Sell Stop”
command.
example: Twait == 20, If a buy stop command was ordered at 10:00:00 and the command is still pending at 10:00:20, cancel the buy stop command
Twait == 301, If a buy stop command was ordered at 10:05:01 and the command is still pending at 10:00:20, cancel the buy stop command
-
TPRenko- Take profit after TPRenko- renko bars. If TPRenko==3.5 , set the take profit after 3.5 renko bars.
-
SLRenko - For “Buy Stop” Command , put the SL SLRenko renko bars below.
-
Expired - In seconds, after how many seconds the position should be closed
-
For instance, if Expired == 55, and a buy stop command becomes activated at 10:00:00 , the position should be closed at 10:00:55
-
TrailStart -- Start Trail after “TrailStart“ baby pips -
-
if TrailStartl== 0 , no trailing
-
FromTime: Every day Trade only between FromTime - ToTime
-
ToTime:
-
Mback -- integer, if we’re looking for buy opportunity, after how many downs bar -- we’re no longer looking for buy opprtunity.
-
FixCommandSize -- integer, if command size is 1000, the trade should risk 1000 $/Euro… and the LOT should be calculated based on FixCommandSize and the SL
If MoneyManagement is greater than zero, ignore FixCommandSize parameter
-
MoneyManagement - Default 1 percent, if MoneyManagement > 0.0 the LOT size should be calculated based on the SL and the ratio of MoneyManagement relative to the account size.
Assumption: K > Mback
Expert Advisor Panel: A Panel that exposes the following parameters :
ActivateBuy -- If not checked, don’t open buy commands.
ActivateSell -- If not checked don’t open sell commands.
K -- The panel let us override the K parameter
Twait -- the panel let us overwrite the parameter
Mback -
MoneyManagement -