Moving Average Pending Order
Posted: Thu Aug 31, 2017 12:28 am
Hello guys,
I'm new here and just replied to the introduction section. I have very basic knowledge on programming but I do understand the concept just a little. So here is my request and this is the concept.
*code* //start script
for //current price is below MA21 SMA in H1
*code* //pending order sell limit is set at MA21 SMA Price in H1
if //no entry submit yet in current candle
*code* //pending order sell limit will update on to the next candle at MA21 SMA Price in H1
else //there is an entry already
*stop script* //Stop the script
for //current price is above MA21 SMA in H1
*code* //pending order buy limit is set at MA21 SMA Price in H1
if //no entry submit yet in current candle
*code* //pending order buy limit will update on to the next candle at MA21 SMA Price in H1
else //there is an entry already
*stop script* //Stop the script
This is more of an MA pending order execute. Like when the price hits the MA, it will automatically enter according to my lot. The reason for this is when a my MA has crossed a Support or Resistance line, I would like to enter at the 'maximum' reversal price which is my MA. And that is not possible during my sleep. Im happy if someone can help me produce the code or if maybe you can make the code yourself and share it here. The idea is that it can be use by anyone, and can edit any value for the MA.
Kind Regards,
Muna
I'm new here and just replied to the introduction section. I have very basic knowledge on programming but I do understand the concept just a little. So here is my request and this is the concept.
*code* //start script
for //current price is below MA21 SMA in H1
*code* //pending order sell limit is set at MA21 SMA Price in H1
if //no entry submit yet in current candle
*code* //pending order sell limit will update on to the next candle at MA21 SMA Price in H1
else //there is an entry already
*stop script* //Stop the script
for //current price is above MA21 SMA in H1
*code* //pending order buy limit is set at MA21 SMA Price in H1
if //no entry submit yet in current candle
*code* //pending order buy limit will update on to the next candle at MA21 SMA Price in H1
else //there is an entry already
*stop script* //Stop the script
This is more of an MA pending order execute. Like when the price hits the MA, it will automatically enter according to my lot. The reason for this is when a my MA has crossed a Support or Resistance line, I would like to enter at the 'maximum' reversal price which is my MA. And that is not possible during my sleep. Im happy if someone can help me produce the code or if maybe you can make the code yourself and share it here. The idea is that it can be use by anyone, and can edit any value for the MA.
Kind Regards,
Muna