PureBytes Links
Trading Reference Links
|
Hi deepak, the logic is to 'check' if the system is in trade before adding/enforcing the stop. If system is neutral, then no stop. I dont know the code, but here are some thoughts >>Buy=Exrem (Buy, sell) will ensure once in BUY, no further BUY are signalled till there is a SELL.
>> If system is in trade - flip a switch to 1, and then say use stop only if switch=1 maybe someone has a better idea or a few lines of code to implement this. best kazaan
2009/12/22 Deepak Patade <deepakpatade@xxxxxxxxx>
| |
Hi,
Can somebody help me in this
Buy= diff>1.5 AND M1>1 AND M1<5;
say above reurns the buy1 value as 5000
i want the stoploss as 20 points
meaning buystoploss=buy-20
but when i write this i get all signals where buystoploss=buy-20
i want signal only/after the buy / sell signal is given.
same for sell
D eepak Patade, Nasik.
| |
| | |
|
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|