Beruflich Dokumente
Kultur Dokumente
¶
Reply
AlgoZ works on intraday basis and considers the strategy based on today’s
condition. Demand factor is not included in pulse. Trend logic code:
Trend(sma(close, 14)) = up
----------------------------------------------------------------------------------------------
----------------------------------------------
Bose says:
Hi NIthin,
This is my stragery, every sell signal and Exit Short works fine, its just that i am not
getting any buy Signals although when I checked it on the Chart it should have given
many buy signals.
Please help me, TradingQandA though being a great website is very slow, Whereas your
replies are brisk. Please tell me what is wrong with this code here on this page itself. I
wrote the strategy myself yet something seems to be wrong with it.
Exit Long – MACD(13, 26, 9, EXPONENTIAL) > MACDSIGNAL (13, 26, 9, EXPONENTIAL)
AND CLOSE < EMA(CLOSE,40) OR CLOSE < OPEN AND REF (CLOSE, 1) < REF(OPEN, 1)
AND REF(CLOSE, 2) < REF(OPEN, 1)
Exit Short – MACD(13, 26, 9, EXPONENTIAL) EMA(CLOSE,40) OR CLOSE > OPEN AND
REF(CLOSE, 1) > REF(OPEN, 1) AND REF(CLOSE, 2) > REF(OPEN, 2)
Please help me out, My script is almost done just a bit of correction from your end will do
wonders.
Again, Buy and Exit Long are not giving any signals.
Bose says:
The above one had a few errors, if corrected them still the problem persists.
Exit Long – MACD(13, 26, 9, EXPONENTIAL) > MACDSIGNAL (13, 26, 9, EXPONENTIAL)
AND CLOSE < EMA(CLOSE,40) OR CLOSE < OPEN AND REF (CLOSE, 1) < REF(OPEN, 1)
AND REF(CLOSE, 2) < REF(OPEN, 1)
Exit Short – MACD(13, 26, 9, EXPONENTIAL) EMA(CLOSE,40) OR CLOSE > OPEN AND
REF(CLOSE, 1) > REF(OPEN, 1) AND REF(CLOSE, 2) > REF(OPEN, 2)
--------------------------------------------------------------------------------------------------------------------------------------
ksjoseph says:
Hello Nitin,
I am just new to trading and was just trying to learn and create strategies. The idea of
my strategy is just
Buying the scrip when all the conditions are satisfied: When the CMP (Current Market
Price) > EMA.(Period 14) + MACD upward cross + RSI should be above 65. Now just
check my formula
Just see if this is the right code which i have written or if not please advice me the
correct code
Reply
CMP (Current Market Price) > EMA.(Period 14) + MACD upward cross + RSI
should be above 65. Now just check my formula
Buy: (Last > Ema(Close, 14)) and (Rsi(Close, 14) > 35) and
MACD(26,13,9,EXPONENTIAL) > MACDSIGNAL(26,12,9,EXPONENTIAL)
Sell: (Last < Ema(Close, 14)) and (Rsi(Close, 14) > 65)
Reply
(MAXOF(REF(LOW, 1), REF(LOW, 2), REF(LOW, 3), REF(LOW, 4), REF(LOW, 5),
REF(LOW, 6), REF(LOW, 7))) > close
Reply