Question#2:
I want to set the exact price for stoploss, not by percentage.
Let say my Buy signal is based on 3 bar with the same Low price for 3 days (let say $8) and Buy at tomorrow open (let say $9),
after my Entry I want to set stoploss at $8, nor matter how far the price go, as long as Close price not lower than $8, I will hold it.
Until I see another 3 bar with the same Low price again (let say at $12), I will set my StopLoss to $12.
You can use _Point instead of _Percent. However the stop level will be calculated by subtracting the entry price by the point value you specify.
To create dynamic stops like in the example you provided, you need to implement that in C# using the money management scripting tool.
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.