My Code
Files:
Screenshot_1.png
98 kb
Pruthvirajsinh6212: How can i Sell High Price value
Reverse your criteria | if(myRSIValue<35)
signal="sell";
if(myRSIValue>70)
signal="buy"; |
if(PositionSelect(_Symbol) == true) { if(positionInfo.PositionType()==POSITION_TYPE_BUY) { if(priceinfo[0].Close > (entryPrice + 2)) { trade.PositionClose(_Symbol); } } if(positionInfo.PositionType()==POSITION_TYPE_SELL) { if(priceinfo[0].Close < (entryPrice - 2)) { trade.PositionClose(_Symbol); } } }i want sell on high price if my position buy on 35 then automatically sell on high price like(this code error show me)
PositionSelect(_Symbol) == true

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register