Experts: Get trend

 

Get trend:

Short-term trends. Two iMA indicators, one iStochastic.

Get trend tester

Author: Vladimir Karputov

 

Hi Vladimir,

When i optimize values in strategy tester,i set stop-loss to 100.But expert opens a trade with stop-loss= 1000 in real trading.Why ?

Thanks

Csezo from Hungary

 
csezo2 :

Hi Vladimir,

When i optimize values in strategy tester ,i set stop-loss to 100.But expert opens a trade with stop-loss= 1000 in real trading.Why ?

Thanks

Csezo from Hungary

All is correct. It should be so. Stop Loss and Take Profit are led to 4 digits.

 
I lose 10 times more than I would like.
 
csezo2:
I lose 10 times more than I would like.
It is high time to know: a five-figure number is a fiction. The present number is a four-digit number.

You still do not technical details: the name of the symbol, the number of digits in the price, the example of the transaction ...
 
If expert opens a trade in strategy tester ,stop loss will 100.BUT !  If expert opens a trade in real trading,stop loss will 1000.
 
csezo2:
If expert opens a trade in strategy tester ,stop loss will 100.BUT !  If expert opens a trade in real trading,stop loss will 1000.

Forum on trading, automated trading systems and testing trading strategies

Experts: Get trend

Vladimir Karputov, 2018.09.20 19:55

All is correct. It should be so. Stop Loss and Take Profit are led to 4 digits.


This is the standard. Want to risk - rewrite the advisor.

 
I am trying .By the way  i like your codes.Thanks a lot.
 

Hi Vladimir,

How can i set the trading time ? I want to trade from morning to evening,not tonight.


Thanks

 
csezo2 :

Hi Vladimir,

How can i set the trading time ? I want to trade from morning to evening,not tonight.


Thanks

In this case, you need to modify the code and add a time interval.

 
OK, i ready to modify the code . But what should i write ? What is the syntax ?