Jump to content
Medved Trader Forums

jdconner

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Never mind I figured it out. Thanks
  2. I already did that it still reverts back to Globex when I change future symbols( ES, NQ ).
  3. How do you set the time frame default on futures contracts to RTH instead of Globex, I've tried by right clicking RTH as default. Everytime I change symbols it reverts back to Globex. Thanks
  4. I have also tried both the regular vwap and horizontal vwap, both trigger the alert.
  5. I have it set to clear after 10 seconds and restart in 5 minutes. I took the alert off the if/else part, didn't need it.
  6. IB data. // Var Name: "EMA_Line" contains EMA(9).Line // Var Name: "EMA_Line2" contains EMA(20).Line // Var Name: "HorizontalLine_Line" contains Horizontal Line (Intraday)(H-VWAP).Line // Var Name: "HorizontalLine_Line2" contains Horizontal Line (Intraday)(H-Open).Line // Var Name: "HorizontalLine_Line3" contains Horizontal Line (Intraday)(H-PClose).Line // Var Name: "HorizontalLine_Line4" contains Horizontal Line (Intraday)(H-PHigh).Line // Var Name: "HorizontalLine_Line5" contains Horizontal Line (Intraday)(H-PLow).Line public void MainCalculation() { if (EMA_Line > EMA_Line2) { SetColor(0,SysColor.SepIndicator2); TriggerAlert(); SetScanResult(0,true); } else { SetColor(0,SysColor.MainIndicator3); TriggerAlert(); SetScanResult(0,true); } if (Close.Crosses(HorizontalLine_Line, 1)) { SetColor(1,SysColor.MainIndicator6); TriggerAlert("Vwap", @"Vwap"); SetScanResult(1,"Vwap"); } if (Close.Crosses(HorizontalLine_Line2, 0)) { SetColor(1,SysColor.MainIndicator4); TriggerAlert("Open", @"Open"); SetScanResult(1,"Open"); } if (Close.Crosses(HorizontalLine_Line3, 0)) { SetColor(1,0xFF1E1E1E); TriggerAlert("P-Close", @"P-Close"); SetScanResult(1,"P-Close"); } if (Close.Crosses(HorizontalLine_Line4, 0)) { SetColor(1,SysColor.MainIndicator5); TriggerAlert("P-High", @"P-High"); SetScanResult(1,"P-High"); } if (Close.Crosses(HorizontalLine_Line5, 0)) { SetColor(1,SysColor.MainIndicator3); TriggerAlert("P-Low", @"P-Low"); SetScanResult(1,"P-Low"); } }
  7. How do I keep vwap from triggering every few minutes, price is not near vwap when triggered. Thanks
×
×
  • Create New...