Jump to content


Photo

clossing order by using stochastic

stochastic

  • Please log in to reply
1 reply to this topic

#1 msophe

msophe

    Advanced Member

  • Members
  • PipPipPip
  • 116 posts

Posted 16 March 2017 - 10:44 AM

HI

 

I build E.A with condition that ;-

 

Long Entry;-

I will open buy order manually and E.A will close long profit when stochastic cross above and stop loss 20 pips

 

Sell Entry;-

I will open sell order manually and E.A will close short profit when stochastic cross below and stop loss 20 pips.

 

I have build E.A with condition above but was not close the order as I describe above.

 

Note ; my stochastic setting is   28.3.3 you will find in my attachment.

 

See my attachment

 

Thanks for your time.

 

Attached File  openstochBuy.sqw   5.57KB   5 downloads

 

Attached File  openstochsell.sqw   5.57KB   2 downloads

 

Attached File  Screenshot_1.png   40.62KB   1 downloads



#2 tomas262

tomas262

    Advanced Member

  • Moderators
  • 2,226 posts

Posted 20 March 2017 - 12:18 AM

Hello,

 

here is the fixed example on long trades.

 

So you want to open trades manually? This example will only exit if trade is opened by EA. For manual trading it has to be modified

 

Let me know

Attached Files







Also tagged with one or more of these keywords: stochastic

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users