Quote:
|
Originally Posted by marketjouster
Hello Scorpion,
Thanks for the expert. I started forward testing it on a demo account yesterday. I wondered if you could tell me where in the code I could insert "RSX_Swinger", so that it would show up in the Comment line in the Account History? I tried inserting it several places that have worked with other experts but nothing works and only the only an '0' prints?? As I'm running a couple other experts it helps me decipher P/L after the fact.
I noticed that some people were asking about what period to use for the RSX indicator. The default is 10 but I've using 14 on a 15m chart, and it seems to avoid some of the whipsaws at the '50' line.
-MJ
PS - Something to consider adding to a future version might be trading times. I know the flat period between 6pm-12 mid EST can create low range whipsaws.
|
I think, you have to change:
int ret = OrderSendEx(Symbol(), OP_BUY, Lots, Ask, open_slippage*Point, TrueSL, TrueTP, NULL, magicnum, 0, Yellow);
to
int ret = OrderSendEx(Symbol(), OP_BUY, Lots, Ask, open_slippage*Point, TrueSL, TrueTP, "RSX Swinger 2", magicnum, 0, Yellow);
and
int ret = OrderSendEx(Symbol(), OP_SELL, Lots ,Bid, open_slippage*Point, TrueSL, TrueTP, NULL, magicnum, 0, Yellow);
to
int ret = OrderSendEx(Symbol(), OP_SELL, Lots ,Bid, open_slippage*Point, TrueSL, TrueTP, "RSX Swinger 2", magicnum, 0, Yellow);