lebric: based on closing /opening bar please
-
Play videoPlease edit your post.
For large amounts of code, attach it.
- use this
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
Hi,
First , i m not a coder but i can read so much coding. I have an EA with fires a trade based on OnTick() "i think" but would like to get that confirmation based on closing /opening bar please , can someone help , thanks !!
void OnTick()
{
//----
manage_trades();
if (count==0)
{
double line=iCustom(NULL,0,"3c_Turbo_JRSX_Filtered",JRSX_Len,JRSX_Filter,0,0);
if (jrsx()=="Up" && line<=JRSX_BuyThreshold) opentrade(0);
else if (jrsx()=="Dn" && line>=JRSX_SellThreshold) opentrade(1);
}
//----
}