# Jason

Members

118

• #### Days Won

1

Jason had the most liked content!

1 Neutral

• Rank
1. ## Request to add Central Pivot Range to Pivot Point indicator.

Per ehjump, I suppose some would use it as a stand alone indicator but I have not encountered this and it makes little sense to me to use it, as defined above, outside of the context of the traditional Pivot Points indicator. As shown above, CPR should be used only for Pivot Points as Fibonacci pivots, Camarilla pivots, DeMark pivots, etc. are all calculated using their own specialized formulas and even though I don't have experience with those variations of the pivot point system I would expect any CPR used with them to have a different formula as well. Thanks for adding this and for the tip about SetYValue.
2. ## Request to add Central Pivot Range to Pivot Point indicator.

Yes, typically I see them referred to that way as the top and bottom central pivots.
3. ## Request to add Central Pivot Range to Pivot Point indicator.

No, it's a derivative of the Pivot Point system and it's usually used in conjunction with them. What I would like to see is the option to enable the CPR within the parameters of the Pivot Point indicator already provided in MT preferably with some line options (dashed lines, solid lines, dots, etc. ) and color options.
4. ## Request to add Central Pivot Range to Pivot Point indicator.

I'd like to ask that the CPR be added to the pivot point indicator as described and discussed here: https://pivotboss.com/2010/05/31/a-quick-guide-to-the-pivot-range/ calculated like this: TC = (Pivot – BC) + Pivot Pivot = (High + Low + Close)/3 BC = (High + Low)/2 Also, more generally, how can I get a paintbar to display/draw a horizontal line across a chart? Thank you.
5. ## 5m indicator that triggers off of daily indicator?

Couple of questions... Is it possible to create a paintbar indicator/alert that displays on the 5m chart when the current day's range or the current price moves beyond another indicator's value when that other indicator is on the daily time frame? What I'm interested in doing is using a paintbar on the 5m or 3m or 15m charts, etc... that displays when the current price range for the day has exceeded the ATR on the daily. Or when the price range has exceeded x% of the ATR on the daily. Also, and as another example, would be interested in the ability to produce an alert with a paintbar when the current price moves above/below an EMA on the daily. Another question I had is how to display such a paintbar. Let's say I wanted to highlight in a different color a range on the chart. For example, make all the space on the chart above a particular price red and below a certain price another color. How would I do this?
6. ## Medved Trader encountered an Error (Streamer H.EVENTS)

Have been using the software for quite a while now without any issues and have never seen this before. Tried restarting it and it keeps popping up. Today is the first time. One thing that changed between running the program in the past and today was the Windows update. Here is the full message: Medved Trader encountered an Error Unable to start Streamer H.EVENTS. (3) Req: , Error: Error compiling script for streamer H.EVENTS Please contact Medved Trader technical support and provide the error details AppVer: 1.1.8701.112 Err.Flags: Log, ShowIndicator, ShowToUser Compile Error at (0,0): Error# CS1685: The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll' Compile Error at (46,308): Error# CS0168: The variable 'ex' is declared but never used Compile Error at (32,355): Error# CS0103: The name 'JObjectParse' does not exist in the current context Compile Error at (48,471): Error# CS1739: The best overload for 'SaveHistEvents' does not have a parameter named 'Merge'
7. ## CS0019 Comparison Error

Doh that did it. It was just flagging the error at the beginning at "(Low[2]" so I thought the problem was there. Thanks
8. ## CS0019 Comparison Error

Sorry, forgot the actual error description: Pos Code Description 75, 10 CS0019 Operator '&&' cannot be applied to operands of type 'bool' and 'double'
9. ## CS0019 Comparison Error

Why does this not work? if ( (Low[2] < EMA_10) && Close[1] >= PP_S1 && Math.Abs(Close-Open) = Min(2,0, Math.Abs(Close-Open)) ) Incidentally, why can't I do something like this: if ( (Close[2].Crosses(EMA_10) && Close[1] >= PP_S1 && Math.Abs(Close-Open) = Min(2,0, Math.Abs(Close-Open)) ) Both fail for me. The idea is to test if the prior candle has a low below the EMA_10 and high above it.
10. ## SysColor? Custom Colors?

Yes THAT works much better! Never would have thought to switch them around like that. Thanks
11. ## SysColor? Custom Colors?

When I try this after deleting the name parameter using: SetColorAndShape(PBShape.Fill, Color.Purple ); I get 3 errors: Pos Code Description 29, 9 CS1502 The best overloaded method match for 'MT.Charting.PaintbarBase.SetColorAndShape(string, MT.Charting.PaintbarBase.PBShape, MT.Charting.PaintbarBase.SysColor)' has some invalid arguments 29, 26 CS1503 Argument 1: cannot convert from 'MT.Charting.PaintbarBase.PBShape' to 'string' 29, 40 CS1503 Argument 2: cannot convert from 'System.Drawing.Color' to 'MT.Charting.PaintbarBase.PBShape'
12. ## SysColor? Custom Colors?

Nice, thank you! The transparency component was throwing me off there. But I am having another problem. When I specify a color in code it does not have an effect. The colors seem to have a life of their own or are locked to whatever colors are selected by default or otherwise in the Parameters box. How can I reset them or make them subordinate to what I've in code? For example, I'm using this: SetColorAndShape("INHAMMER", PBShape.Fill, Color.Purple ); TriggerAlert("test!", @"test."); SetScanResult(@"test"); And the paintbar as drawn is showing up Red.
13. ## Conditional Code Suddenly Stops Working

Why does this work: (Close <= EMA_10+.05 && Close > EMA_10-.05) && (EMA_10 >= VWAP_U) && (Open[3] >= Close) && (High[3] >= High) ) but then this fails: (Close.Crosses(EMA_10) | Close.Crosses(EMA_20)) && (EMA_10 >= VWAP_U) && (Open[3] >= Close) && (High[3] >= High) ) with the error codes: 25, 102 CS0019 Operator '>=' cannot be applied to operands of type 'MT.Charting.PaintbarBase.IndexedPropertyDouble' and 'MT.Charting.PaintbarBase.IndexedPropertyDouble' 25, 124 CS0019 Operator '>=' cannot be applied to operands of type 'double' and 'MT.Charting.PaintbarBase.IndexedPropertyDouble' 25, 146 CS0019 Operator '>=' cannot be applied to operands of type 'double' and 'MT.Charting.PaintbarBase.IndexedPropertyDouble' The EMA, Open[3] and High[3] elements are highlighted but none of that code was changed. Thanks
14. ## SysColor? Custom Colors?

Trying to determine how I can specify in code the color of the paintbar? I can select the color manually in the Parameters box but I want to be able to control the color from within the code for testing purposes and customization of colors when different conditions are met within the same paintbar. For example, multiple IF conditions each with a separate color... In one of the paintbars I created I can see 0xFF9399FF set within SetColorAndShape but I'm unfamiliar with this number format can't investigate further. Thanks
15. ## PB Placement with SetColorAndShape?

Great to hear, thanks!
×
×
• Create New...