Indicator Trouble W/ MACD: - page 2

 
lippmaje:

You certainly need more practice. Take the code from @William Roeder and add these two lines:

You can use this block for both selling and buying. Just use the new variables like so:

You'll also need to find out when to close orders. Or if the signal is advising to close all contrary orders. It's a long road.

lippmaje,


I do need practice. But input from you and the rest is so helpful and I appreciate you taking the time to help me. I will use this code you added and check the results. I started coding in April w/ python on codecademy. Long, long road,  indeed. Again, thank you.

Reason: