NexusFi: Find Your Edge


Home Menu

 





MACD Strategy HELP!


Discussion in TradeStation

Updated
      Top Posters
    1. looks_one Saraf64 with 11 posts (0 thanks)
    2. looks_two ABCTG with 8 posts (1 thanks)
    3. looks_3 ezrollin with 2 posts (0 thanks)
    4. looks_4 NW27 with 1 posts (1 thanks)
    1. trending_up 11,247 views
    2. thumb_up 3 thanks given
    3. group 6 followers
    1. forum 22 posts
    2. attach_file 1 attachments




 
Search this Thread

MACD Strategy HELP!

  #11 (permalink)
Saraf64
Los Angeles, CA, USA
 
Posts: 14 since Mar 2014
Thanks Given: 3
Thanks Received: 0

Thank you ABCTG, although I must admit what you said in your last post completely went over my head. I will try to read and understand with a fresh mind after I have slept for 12 hours. It's been a long night

Thank you and have a great night.

Regards
Saraf64

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
22 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #12 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Saraf64,

if something is unclear just let me know and I'll try to clarify it.

Regards,
ABCTG


Saraf64 View Post
Thank you ABCTG, although I must admit what you said in your last post completely went over my head. I will try to read and understand with a fresh mind after I have slept for 12 hours. It's been a long night

Thank you and have a great night.

Regards
Saraf64


Follow me on Twitter Reply With Quote
  #13 (permalink)
Saraf64
Los Angeles, CA, USA
 
Posts: 14 since Mar 2014
Thanks Given: 3
Thanks Received: 0



ABCTG View Post
Saraf64,

if something is unclear just let me know and I'll try to clarify it.

Regards,
ABCTG

I think you read my mind. I've been reading and re-reading your post about variables and CurrentBar, and I think I understand what needs to be done, but I don't know how the structure is supposed to be. This is how I am thinking it should be:

If MACD A is CurrentBar and = 0, then PlotX when MACD B is = OR > CurrentBar. I am guessing I am not even close to what I need to do, but I am brainstorming with myself and referring to the EL tutorial PDF, which by the way, doesn't explain enough. That said, how would I go about asking MACD B not to plot if the BarCount is > 5?

Thank you for trying to help me out and get me going.

Vielen dank

Saraf64

Reply With Quote
  #14 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Saraf64,

it would look something like this. On an up cross of MACDA you store the current bar number and then you can use this variable later on an up cross of MACDB.

 
Code
If MyMACD crosses above MACDAvg then
 MACDAUpCrossBar = CurrentBar;

if MyMACD2 crosses above MACDAvg2 and CurrentBar <= MACDAUpCrossBar + 5 then...
Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #15 (permalink)
Saraf64
Los Angeles, CA, USA
 
Posts: 14 since Mar 2014
Thanks Given: 3
Thanks Received: 0


ABCTG View Post
Saraf64,

it would look something like this. On an up cross of MACDA you store the current bar number and then you can use this variable later on an up cross of MACDB.

 
Code
If MyMACD crosses above MACDAvg then
 MACDAUpCrossBar = CurrentBar;

if MyMACD2 crosses above MACDAvg2 and CurrentBar <= MACDAUpCrossBar + 5 then...
Regards,
ABCTG

Yup! I was nowhere close to that

Unfortunately I am done for the day, but looks like I am going to have a lot to play with.

Thanks much for the follow up.

Regards
Saraf64

Reply With Quote
  #16 (permalink)
Saraf64
Los Angeles, CA, USA
 
Posts: 14 since Mar 2014
Thanks Given: 3
Thanks Received: 0


ABCTG View Post
Saraf64,

 
Code
If MyMACD crosses above MACDAvg then
 MACDAUpCrossBar = CurrentBar;

if MyMACD2 crosses above MACDAvg2 and CurrentBar <= MACDAUpCrossBar + 5 then...

Hello ABCTG,

Can you please clarify MACDAUpCrossBar? Assuming that MACDA is MACD, MACDUpCrossBar gives me an "unknown identifier" error. What can I replace it with for it to be recognized? I tried to condition the cross above/below "Condition1" and "Condition2" and equal it to CurrentBar, but that also gave me an error. I am going to try to make some sense out of the logic, watch the TradeStation EL tutorial video a couple of times, read some more and make something out of it.

Thanks again

Regards
Saraf64

Reply With Quote
  #17 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Saraf64,

MACDAUpCrossBar is just a variable that I named that way. You are free to give it a different name, but make sure that you declare your variable.

Regards,
ABCTG


Saraf64 View Post
Hello ABCTG,

Can you please clarify MACDAUpCrossBar? Assuming that MACDA is MACD, MACDUpCrossBar gives me an "unknown identifier" error. What can I replace it with for it to be recognized? I tried to condition the cross above/below "Condition1" and "Condition2" and equal it to CurrentBar, but that also gave me an error. I am going to try to make some sense out of the logic, watch the TradeStation EL tutorial video a couple of times, read some more and make something out of it.

Thanks again

Regards
Saraf64


Follow me on Twitter Reply With Quote
  #18 (permalink)
Saraf64
Los Angeles, CA, USA
 
Posts: 14 since Mar 2014
Thanks Given: 3
Thanks Received: 0


ABCTG View Post
Saraf64,

MACDAUpCrossBar is just a variable that I named that way. You are free to give it a different name, but make sure that you declare your variable.

I thought that was what it was and I tried a few things, but as a rookie I am ought to make rookie errors

Thank you for clarifying and explaining things. Your posts are very helpful.

Thanks again
Saraf64

Reply With Quote
  #19 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627

Saraf64,

you are welcome and no worries, practice makes perfect.

Regards,
ABCTG


Saraf64 View Post
I thought that was what it was and I tried a few things, but as a rookie I am ought to make rookie errors

Thank you for clarifying and explaining things. Your posts are very helpful.

Thanks again
Saraf64


Follow me on Twitter Reply With Quote
  #20 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17



ABCTG View Post
Saraf64,

I would still suggest to start with the simple plot and then gradually make it more complex. For a dot you have to use the same reserved word i.e. PlotX, where X is the PlotNumber. Then you have to change the plot style in the indicator properties to point or cross.

Regards,
ABCTG

Exactly this

Reply With Quote
Thanked by:




Last Updated on March 7, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts