Support Board
Date/Time: Mon, 12 May 2025 12:09:08 +0000
[Programming Help] - Help for Automatic Trading
View Count: 1045
[2017-11-23 16:42:12] |
Donz - Posts: 17 |
I am using the Moving Average Crossover 1) Moving Average Crossover (MA10,MA20) 2) Moving Average Crossover (MA100,MA200) Entry Entry buy if MA10 cross MA20 AND only IF MA100 and MA200 at cross buy how to code to put and entry buy and sell using the spreadsheet Please refer the attachment i have coding the code..but still doest work and dont know where to start. Date Time Of Last Edit: 2017-11-23 16:56:09
|
![]() ![]() ![]() ![]() |
[2017-11-23 16:57:05] |
Sawtooth - Posts: 4214 |
Try this: K3: =AND(ID1.SG1@3>ID1.SG2@3,CROSSFROMBELOW(ID4.SG1@3:ID4.SG1@4,ID4.SG2@3:ID4.SG2@4)) M3: =AND(ID1.SG1@3<ID1.SG2@3,CROSSFROMABOVE(ID4.SG1@3:ID4.SG1@4,ID4.SG2@3:ID4.SG2@4)) |
[2017-11-23 17:51:37] |
Donz - Posts: 17 |
Thnk you , works!! can you set for buy exit and sell exit if MA10/20 cross buy, close with cross sell thanks again. really helpful |
[2017-11-23 17:59:02] |
Donz - Posts: 17 |
Please help for L3 and M3 IF entry buy , will close with sell if MA cross |
![]() |
[2017-11-23 18:55:38] |
Donz - Posts: 17 |
just found it...and test it buy exit =CROSSFROMABOVE(ID4.SG1@3:ID4.SG1@4,ID4.SG2@3:ID4.SG2@4) sell exit =CROSSFROMBELOW(ID4.SG1@3:ID4.SG1@4,ID4.SG2@3:ID4.SG2@4) thank u for help Date Time Of Last Edit: 2017-11-23 18:55:54
|
To post a message in this thread, you need to log in with your Sierra Chart account: