has anyone coded for this strategy
Size:
Color:
Size:
Color:
Eugene,
during a trend, when you add a unit when price moves by 1/2N does the previous entry's during the trend exits(loss) also move to the new stop loss of the added unit. Is this incorporated into the programing?
Surinder
Size:
Color:
Surinder,
QUOTE:
...when price moves by 1/2N does the previous entry's during the trend exits(loss) also move to the new stop loss of the added unit...
...meaning that, according to Faith,
"all the stops for the entire position would be placed at 2N from the most recently added unit." In this code, the stop for each position is set to 2N from its entry price.
Size:
Color:
ive tried to amend this 'original 3.1' to only the long 55 day break out, but it only trades 10-15 times no matter the symbol then stops. any ideas why?
CODE:
Please log in to see this code.
Size:
Color:
When posting code, please wrap it in between a pair of CODE tags. You'll notice them right above the "Add a new Post" box. I've corrected this for you.
Size:
Color:
thanks a lot
Size:
Color:
The cond20 condition is the reason for not taking trades.
Size:
Color:
thanks. working now (and obvious in hindsight!). thanks again....if anyone wants the '55d only' version:
CODE:
Please log in to see this code.
Size:
Color:
hi, am new on wealth lab.
please can someone help out, i'd like to modify this code with the following modification:
1. continue to modify SL on all open positions for every 1-ATR move by 2N
2. exit in that case would then be either by stoploss or 20 day period in opposite direction of trade.
thanks,
manofsteel
Size:
Color:
would it also be possible to code it in such a way as to allow for optimization?/
Size:
Color:
Absolutely. The WealthScript Programming Guide (WLD > Help menu) even ships with a tutorial teaching you how to do it on your own. Check it out: Programming Trading Strategies > Strategy Parameters > How to: Add Strategy Parameters.
Size:
Color: